Merge branch 'remove-tag' of https://github.com/Tryibion/FlaxEngine into Tryibion-remove-tag
This commit is contained in:
@@ -476,6 +476,11 @@ void Actor::AddTag(const Tag& tag)
|
||||
Tags.AddUnique(tag);
|
||||
}
|
||||
|
||||
void Actor::RemoveTag(const Tag& tag)
|
||||
{
|
||||
Tags.Remove(tag);
|
||||
}
|
||||
|
||||
PRAGMA_DISABLE_DEPRECATION_WARNINGS
|
||||
|
||||
const String& Actor::GetTag() const
|
||||
|
||||
@@ -136,6 +136,12 @@ public:
|
||||
/// <param name="tag">The tag to add.</param>
|
||||
API_FUNCTION() void AddTag(const Tag& tag);
|
||||
|
||||
/// <summary>
|
||||
/// Removes a tag to the actor
|
||||
/// </summary>
|
||||
/// <param name="tag">The tag to remove.</param>
|
||||
API_FUNCTION() void RemoveTag(const Tag& tag);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the name of the tag.
|
||||
/// [Deprecated in v1.5]
|
||||
|
||||
Reference in New Issue
Block a user