文档

Unity Engine

Unity Engine

asset

Accessor to the referenced asset.
阅读时间1 分钟最后更新于 1 个月前

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.