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
Показать файл Открыть проект

Открытые методы

Метод Описание
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