ドキュメント

Unity Engine

Unity Engine

TagHandle

A handle to one of the tag values that can be applied to a GameObject.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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

GetExistingTagGet a handle to a existing defined tag.