Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IsValid

Returns true if the ContentFile handle is valid.
Read time 1 minuteLast updated 6 days 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.