Static operations on Tag enum values.
More...
|
static bool | CompareTagMask (this GameObject obj, long tag) |
| Return true if GameObject's tag matches given any tag in given value. More...
|
|
static bool | CompareTagMask (this Component obj, long tag) |
| Return true if Component's tag matches given any tag in given value. More...
|
|
static void | SetTagIndex (this GameObject obj, int tagIndex) |
| Set the tag index of a GameObject. More...
|
|
static int | GetTagIndex (this GameObject obj) |
| Get the tag index of a GameObject. More...
|
|
static int | GetTagIndex (this Component obj) |
| Get the tag index of a Component. More...
|
|
static long | GetTagMask (this GameObject obj) |
| Get the tag mask of a GameObject. More...
|
|
static long | GetTagMask (this Component obj) |
| Get the tag mask of a Component. More...
|
|
Static operations on Tag enum values.
◆ CompareTagMask() [1/2]
static bool Infohazard.Core.TagMaskUtility.CompareTagMask |
( |
this Component |
obj, |
|
|
long |
tag |
|
) |
| |
|
static |
Return true if Component's tag matches given any tag in given value.
- Parameters
-
obj | The Component to check. |
tag | The tag to compare, which may be multiple tags. |
- Returns
- Whether Component matches given tag.
◆ CompareTagMask() [2/2]
static bool Infohazard.Core.TagMaskUtility.CompareTagMask |
( |
this GameObject |
obj, |
|
|
long |
tag |
|
) |
| |
|
static |
Return true if GameObject's tag matches given any tag in given value.
- Parameters
-
obj | The GameObject to check. |
tag | The tag to compare, which may be multiple tags. |
- Returns
- Whether GameObject matches given tag.
◆ GetTagIndex() [1/2]
static int Infohazard.Core.TagMaskUtility.GetTagIndex |
( |
this Component |
obj | ) |
|
|
static |
Get the tag index of a Component.
- Parameters
-
- Returns
- The Component's tag index.
◆ GetTagIndex() [2/2]
static int Infohazard.Core.TagMaskUtility.GetTagIndex |
( |
this GameObject |
obj | ) |
|
|
static |
Get the tag index of a GameObject.
- Parameters
-
- Returns
- The GameObject's tag index.
◆ GetTagMask() [1/2]
static long Infohazard.Core.TagMaskUtility.GetTagMask |
( |
this Component |
obj | ) |
|
|
static |
Get the tag mask of a Component.
- Parameters
-
- Returns
- The Component's tag as a mask.
◆ GetTagMask() [2/2]
static long Infohazard.Core.TagMaskUtility.GetTagMask |
( |
this GameObject |
obj | ) |
|
|
static |
Get the tag mask of a GameObject.
- Parameters
-
- Returns
- The GameObject's tag as a mask.
◆ SetTagIndex()
static void Infohazard.Core.TagMaskUtility.SetTagIndex |
( |
this GameObject |
obj, |
|
|
int |
tagIndex |
|
) |
| |
|
static |
Set the tag index of a GameObject.
- Parameters
-
obj | Object to modify. |
tagIndex | Tag to set. |
The documentation for this class was generated from the following file: