C# 클래스 UnityEditor.MenuItem

상속: System.Attribute
파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
menuItem string
priority int
validate bool

공개 메소드들

메소드 설명
MenuItem ( string itemName ) : System

Creates a menu item and invokes the static function following it, when the menu item is selected.

MenuItem ( string itemName, bool isValidateFunction ) : System

Creates a menu item and invokes the static function following it, when the menu item is selected.

MenuItem ( string itemName, bool isValidateFunction, int priority ) : System

Creates a menu item and invokes the static function following it, when the menu item is selected.

비공개 메소드들

메소드 설명
MenuItem ( string itemName, bool isValidateFunction, int priority, bool internalMenu ) : System

메소드 상세

MenuItem() 공개 메소드

Creates a menu item and invokes the static function following it, when the menu item is selected.

public MenuItem ( string itemName ) : System
itemName string The itemName is the menu item represented like a pathname. /// For example the menu item could be "GameObject/Do Something".
리턴 System

MenuItem() 공개 메소드

Creates a menu item and invokes the static function following it, when the menu item is selected.

public MenuItem ( string itemName, bool isValidateFunction ) : System
itemName string The itemName is the menu item represented like a pathname. /// For example the menu item could be "GameObject/Do Something".
isValidateFunction bool If isValidateFunction is true, this is a validation /// function and will be called before invoking the menu function with the same itemName.
리턴 System

MenuItem() 공개 메소드

Creates a menu item and invokes the static function following it, when the menu item is selected.

public MenuItem ( string itemName, bool isValidateFunction, int priority ) : System
itemName string The itemName is the menu item represented like a pathname. /// For example the menu item could be "GameObject/Do Something".
isValidateFunction bool If isValidateFunction is true, this is a validation /// function and will be called before invoking the menu function with the same itemName.
priority int The order by which the menu items are displayed.
리턴 System

프로퍼티 상세

menuItem 공개적으로 프로퍼티

public string menuItem
리턴 string

priority 공개적으로 프로퍼티

public int priority
리턴 int

validate 공개적으로 프로퍼티

public bool validate
리턴 bool