TagHandle
A handle to one of the tag values that can be applied to a GameObject.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Struct
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public struct TagHandle
Remarks
If you are checking the tag on a GameObject to see if it matches a particular value, then using a TagHandle instead of the raw tag name can be faster.
Additional Resources: GameObject.CompareTag.
Static Methods
Method | Description |
|---|---|
| GetExistingTag | Get a handle to a existing defined tag. |