diff --git a/Source/Engine/Level/Tags.cs b/Source/Engine/Level/Tags.cs
index b8ea3efe6..b4aa3468c 100644
--- a/Source/Engine/Level/Tags.cs
+++ b/Source/Engine/Level/Tags.cs
@@ -122,7 +122,7 @@ namespace FlaxEngine
/// The tags list to use.
/// The tag to check.
/// True if given tag is contained by the list of tags. Returns false for empty list.
- public static bool HasTag(Tag[] list, Tag tag)
+ public static bool HasTag(this Tag[] list, Tag tag)
{
if (tag.Index == -1)
return false;
@@ -142,7 +142,7 @@ namespace FlaxEngine
/// The tags list to use.
/// The tag to check.
/// True if given tag is contained by the list of tags. Returns false for empty list.
- public static bool HasTagExact(Tag[] list, Tag tag)
+ public static bool HasTagExact(this Tag[] list, Tag tag)
{
if (tag.Index == -1)
return false;
@@ -162,7 +162,7 @@ namespace FlaxEngine
/// The tags list to use.
/// The tags to check.
/// True if any of of the given tags is contained by the list of tags.
- public static bool HasAny(Tag[] list, Tag[] tags)
+ public static bool HasAny(this Tag[] list, Tag[] tags)
{
if (list == null)
return false;
@@ -180,7 +180,7 @@ namespace FlaxEngine
/// The tags list to use.
/// The tags to check.
/// True if any of the given tags is contained by the list of tags.
- public static bool HasAnyExact(Tag[] list, Tag[] tags)
+ public static bool HasAnyExact(this Tag[] list, Tag[] tags)
{
if (list == null)
return false;
@@ -198,7 +198,7 @@ namespace FlaxEngine
/// 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.
- public static bool HasAll(Tag[] list, Tag[] tags)
+ public static bool HasAll(this Tag[] list, Tag[] tags)
{
if (tags == null || tags.Length == 0)
return true;
@@ -218,7 +218,7 @@ namespace FlaxEngine
/// 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.
- public static bool HasAllExact(Tag[] list, Tag[] tags)
+ public static bool HasAllExact(this Tag[] list, Tag[] tags)
{
if (tags == null || tags.Length == 0)
return true;