文档

Unity Engine

Unity Engine

isPrefabFileValid

Returns true if the content of the file is valid.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public bool isPrefabFileValid { get; }

Remarks

The content of a prefab file can be valid but still produce a BrokenPrefabAsset if it is a variant and the parent is missing or invalid.