기술 자료

Unity Engine

Unity Engine

IconAttribute

Attribute to specify an icon for a MonoBehaviour or ScriptableObject.
읽는 시간 3분최근 업데이트: 한 달 전

Definition

[AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = false)][Conditional("UNITY_EDITOR")]public class IconAttribute : 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