diff --git a/Source/Engine/Level/Tags.cs b/Source/Engine/Level/Tags.cs index 1ff9acef4..11815aa9d 100644 --- a/Source/Engine/Level/Tags.cs +++ b/Source/Engine/Level/Tags.cs @@ -45,7 +45,7 @@ namespace FlaxEngine /// True if both values are not equal, otherwise false. public static bool operator !=(Tag left, Tag right) { - return left.Index == right.Index; + return left.Index != right.Index; } /// @@ -213,11 +213,11 @@ namespace FlaxEngine } /// - /// Checks if the list of tags contains all of the given tags (including parent tags check). For example, HasAll({"A.B", "C"}, {"A", "C"}) returns true, for exact check use HasAllExact. + /// Checks if the list of tags contains all the given tags (including parent tags check). For example, HasAll({"A.B", "C"}, {"A", "C"}) returns true, for exact check use HasAllExact. /// /// The tags list to use. /// The tags to check. - /// True if all of the given tags are contained by the list of tags. Returns true for empty list. + /// True if all the given tags are contained by the list of tags. Returns true for empty list. public static bool HasAll(this Tag[] list, Tag[] tags) { if (tags == null || tags.Length == 0) @@ -233,11 +233,11 @@ namespace FlaxEngine } /// - /// Checks if the list of tags contains all of the given tags (exact match). For example, HasAllExact({"A.B", "C"}, {"A", "C"}) returns false, for parents check use HasAll. + /// Checks if the list of tags contains all the given tags (exact match). For example, HasAllExact({"A.B", "C"}, {"A", "C"}) returns false, for parents check use HasAll. /// /// The tags list to use. /// The tags to check. - /// True if all of the given tags are contained by the list of tags. Returns true for empty list. + /// True if all the given tags are contained by the list of tags. Returns true for empty list. public static bool HasAllExact(this Tag[] list, Tag[] tags) { if (tags == null || tags.Length == 0)