Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


asset

Accessor to the referenced asset.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public T asset { get; set; }

Remarks

This loads the referenced object into memory if the object is not already loaded.