RefIdNull
Special value, -2, used as the managed reference Id of any field decorated with SerializeReference that has no object assigned to it.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine.Serialization
- Assembly: UnityEngine.CoreModule
public const long RefIdNull = -2