C# 클래스 RAGENativeUI.Elements.UIMenuSwitchMenusItem

List item that holds an UIMenu list and allows to easily switch between those menus.
All the UIMenus must have the same instance of this UIMenuSwitchMenusItem and is recommended to use the property UIMenuSwitchMenusItem.CurrentMenu to make the menu visible without issues.
상속: UIMenuListItem
파일 보기 프로젝트 열기: alexguirre/RAGENativeUI

공개 메소드들

메소드 설명
IndexToMenu ( int index ) : UIMenu

Find a menu by it's index and return the menu.

MenuToIndex ( UIMenu menu ) : int

Find a menu in the list and return it's index.

UIMenuSwitchMenusItem ( string text, List menus, List menusNames, int index ) : System

List item, with left/right arrows that switches the current menu depending on the current UIMenu item. The menus list and the menus names list must have the same items count.

UIMenuSwitchMenusItem ( string text, List menus, List menusNames, int index, string description ) : System

List item, with left/right arrows that switches the current menu depending on the current UIMenu item. The menus list and the menus names list must have the same items count.

UIMenuSwitchMenusItem ( string text, List menus, int index ) : System

List item, with left/right arrows that switches the current menu depending on the current UIMenu item. Uses the menus titles as the names in the list.

UIMenuSwitchMenusItem ( string text, List menus, int index, string description ) : System

List item, with left/right arrows that switches the current menu depending on the current UIMenu item. Uses the menus titles as the names in the list.

메소드 상세

IndexToMenu() 공개 메소드

Find a menu by it's index and return the menu.
public IndexToMenu ( int index ) : UIMenu
index int Menu's index.
리턴 UIMenu

MenuToIndex() 공개 메소드

Find a menu in the list and return it's index.
public MenuToIndex ( UIMenu menu ) : int
menu UIMenu Menu to search for.
리턴 int

UIMenuSwitchMenusItem() 공개 메소드

List item, with left/right arrows that switches the current menu depending on the current UIMenu item. The menus list and the menus names list must have the same items count.
public UIMenuSwitchMenusItem ( string text, List menus, List menusNames, int index ) : System
text string Item label.
menus List List that contains your s.
menusNames List List that contains a name for each in the same order
index int Index in the list. If unsure user 0.
리턴 System

UIMenuSwitchMenusItem() 공개 메소드

List item, with left/right arrows that switches the current menu depending on the current UIMenu item. The menus list and the menus names list must have the same items count.
public UIMenuSwitchMenusItem ( string text, List menus, List menusNames, int index, string description ) : System
text string Item label.
menus List List that contains your s.
menusNames List List that contains a name for each in the same order
index int Index in the list. If unsure user 0.
description string Description for this item.
리턴 System

UIMenuSwitchMenusItem() 공개 메소드

List item, with left/right arrows that switches the current menu depending on the current UIMenu item. Uses the menus titles as the names in the list.
public UIMenuSwitchMenusItem ( string text, List menus, int index ) : System
text string Item label.
menus List List that contains your s.
index int Index in the list. If unsure user 0.
리턴 System

UIMenuSwitchMenusItem() 공개 메소드

List item, with left/right arrows that switches the current menu depending on the current UIMenu item. Uses the menus titles as the names in the list.
public UIMenuSwitchMenusItem ( string text, List menus, int index, string description ) : System
text string Item label.
menus List List that contains your s.
index int Index in the list. If unsure user 0.
description string Description for this item.
리턴 System