Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

IconAttribute

class in UnityEngine

/

Implemented in:UnityEngine.CoreModule

Description

Attribute to specify an icon for a MonoBehaviour or ScriptableObject.

Properties

pathA project-relative path to a texture.

Constructors

IconAttributeCreate an IconAttribute with a path to an icon.