Version: 2022.2

IconAttribute

class in UnityEngine

切换到手册

描述

Attribute to specify an icon for a MonoBehaviour or ScriptableObject.

变量

pathA project-relative path to a texture.

构造函数

IconAttributeCreate an IconAttribute with a path to an icon.