文档

Unity Engine

Unity Engine

isBroken

Convenience property that checks whether the reference is broken: refers to an object that is either not available or not loadable.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public bool isBroken { get; }

Remarks

This attempts to load the referenced object if the object is not already loaded.