기술 자료

Unity Engine

Unity Engine

TagHandle

A handle to one of the tag values that can be applied to a GameObject.
읽는 시간 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.