C# 클래스 UnityEditor.GenericMenu

파일 보기 프로젝트 열기: randomize/VimConfig 1 사용 예제들

공개 메소드들

메소드 설명
AddDisabledItem ( GUIContent content ) : void
AddItem ( GUIContent content, bool on, MenuFunction func ) : void
AddItem ( GUIContent content, bool on, MenuFunction2 func, object userData ) : void
AddSeparator ( string path ) : void
DropDown ( Rect position ) : void
GetItemCount ( ) : int
ShowAsContext ( ) : void

비공개 메소드들

메소드 설명
CatchMenu ( object userData, string options, int selected ) : void
Popup ( Rect position, int selectedIndex ) : void

메소드 상세

AddDisabledItem() 공개 메소드

public AddDisabledItem ( GUIContent content ) : void
content UnityEngine.GUIContent
리턴 void

AddItem() 공개 메소드

public AddItem ( GUIContent content, bool on, MenuFunction func ) : void
content UnityEngine.GUIContent
on bool
func MenuFunction
리턴 void

AddItem() 공개 메소드

public AddItem ( GUIContent content, bool on, MenuFunction2 func, object userData ) : void
content UnityEngine.GUIContent
on bool
func MenuFunction2
userData object
리턴 void

AddSeparator() 공개 메소드

public AddSeparator ( string path ) : void
path string
리턴 void

DropDown() 공개 메소드

public DropDown ( Rect position ) : void
position UnityEngine.Rect
리턴 void

GetItemCount() 공개 메소드

public GetItemCount ( ) : int
리턴 int

ShowAsContext() 공개 메소드

public ShowAsContext ( ) : void
리턴 void