ドキュメント

Unity Engine

Unity Engine

IconAttribute

Attribute to specify an icon for a MonoBehaviour or ScriptableObject.
読み終わるまでの所要時間 3 分最終更新 5日前

Definition

[Conditional("UNITY_EDITOR")][AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = false)]public class IconAttribute : Attribute, _Attribute

Constructors

Constructor

Description

IconAttribute(System.String)Create an IconAttribute with a path to an icon.

Properties

Property

Description

pathA project-relative path to a texture.

Inheritance

Inherited Members