文档

Unity Engine

Unity Engine

IsValid

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

Definition

  • Type: Property
  • Namespace: Unity.Loading
  • Assembly: UnityEngine.ContentLoadModule
public bool IsValid { get; }

Remarks

This will be true immediately after the handle is returned from ContentLoadInterface.LoadContentFileAsync. It becomes false after ContentFile.UnloadAsync is called.