C# 클래스 Invert.Core.GraphDesigner.SelectionMenu

파일 보기 프로젝트 열기: InvertGames/uFrame.Editor 1 사용 예제들

공개 메소드들

메소드 설명
AddItem ( IItem item, SelectionMenuCategory category = null ) : void

You can pass any IItem here. SelectionMenuItem will invoke it's action when clicked Anything else will do no action when clicked

ConvertAndAdd ( IEnumerable regularItems, Action itemAction, bool categoriesByGroups = true ) : void
CreateCategoryIfNotExist ( ) : SelectionMenuCategory

보호된 메소드들

메소드 설명
FindItem ( IEnumerable items, string name, bool recursive = true ) : IItem
FindItem ( string name ) : IItem

메소드 상세

AddItem() 공개 메소드

You can pass any IItem here. SelectionMenuItem will invoke it's action when clicked Anything else will do no action when clicked
public AddItem ( IItem item, SelectionMenuCategory category = null ) : void
item IItem
category SelectionMenuCategory
리턴 void

ConvertAndAdd() 공개 메소드

public ConvertAndAdd ( IEnumerable regularItems, Action itemAction, bool categoriesByGroups = true ) : void
regularItems IEnumerable
itemAction Action
categoriesByGroups bool
리턴 void

CreateCategoryIfNotExist() 공개 메소드

public CreateCategoryIfNotExist ( ) : SelectionMenuCategory
리턴 SelectionMenuCategory

FindItem() 보호된 메소드

protected FindItem ( IEnumerable items, string name, bool recursive = true ) : IItem
items IEnumerable
name string
recursive bool
리턴 IItem

FindItem() 보호된 메소드

protected FindItem ( string name ) : IItem
name string
리턴 IItem