Documentation

Unity Engine

Unity Engine

IsValid

Returns true if the ContentFile handle is valid.
Read time 1 minuteLast updated a month ago

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.