C# 클래스 UnityEngine.ContextMenu

상속: Attribute, _Attribute
파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled

공개 프로퍼티들

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

공개 메소드들

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

Adds the function to the context menu of the component.

ContextMenu ( string itemName, bool isValidateFunction ) : System

Adds the function to the context menu of the component.

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

Adds the function to the context menu of the component.

메소드 상세

ContextMenu() 공개 메소드

Adds the function to the context menu of the component.

public ContextMenu ( string itemName ) : System
itemName string The name of the context menu item.
리턴 System

ContextMenu() 공개 메소드

Adds the function to the context menu of the component.

public ContextMenu ( string itemName, bool isValidateFunction ) : System
itemName string The name of the context menu item.
isValidateFunction bool Whether this is a validate function (defaults to false).
리턴 System

ContextMenu() 공개 메소드

Adds the function to the context menu of the component.

public ContextMenu ( string itemName, bool isValidateFunction, int priority ) : System
itemName string The name of the context menu item.
isValidateFunction bool Whether this is a validate function (defaults to false).
priority int Priority used to override the ordering of the menu items (defaults to 1000000). The lower the number the earlier in the menu it will appear.
리턴 System

프로퍼티 상세

menuItem 공개적으로 프로퍼티

public string menuItem
리턴 string

priority 공개적으로 프로퍼티

public int priority
리턴 int

validate 공개적으로 프로퍼티

public bool validate
리턴 bool