ManoMotion SDK PRO  1.4.8
ManoMotion SDK PRO API documentation
MenuButton Class Reference

The button that open and close the Main Menu. More...

Inheritance diagram for MenuButton:

Public Member Functions

void ToggleIconsMenu ()
 Toggles the boolean value of the menu being open and handles the illustration of it. More...
 
void CloseMenuAndShowManoMotionCanvas ()
 Closes the menu and shows the manoMotion canvas More...
 
void CloseMenu ()
 Closes the menu. More...
 

Data Fields

Image buttonImage
 

Properties

bool MenuIsOpen [get, set]
 

Private Member Functions

void Start ()
 

Private Attributes

GameObject iconsCanvas
 
GameObject manomotionCanvas
 
Sprite menuOpenImage
 
Sprite menuClosedImage
 
bool _menuIsOpen
 

Detailed Description

The button that open and close the Main Menu.

Member Function Documentation

◆ CloseMenu()

void MenuButton.CloseMenu ( )
inline

Closes the menu.

◆ CloseMenuAndShowManoMotionCanvas()

void MenuButton.CloseMenuAndShowManoMotionCanvas ( )
inline

Closes the menu and shows the manoMotion canvas

◆ Start()

void MenuButton.Start ( )
inlineprivate

◆ ToggleIconsMenu()

void MenuButton.ToggleIconsMenu ( )
inline

Toggles the boolean value of the menu being open and handles the illustration of it.

Field Documentation

◆ _menuIsOpen

bool MenuButton._menuIsOpen
private

◆ buttonImage

Image MenuButton.buttonImage

◆ iconsCanvas

GameObject MenuButton.iconsCanvas
private

◆ manomotionCanvas

GameObject MenuButton.manomotionCanvas
private

◆ menuClosedImage

Sprite MenuButton.menuClosedImage
private

◆ menuOpenImage

Sprite MenuButton.menuOpenImage
private

Property Documentation

◆ MenuIsOpen

bool MenuButton.MenuIsOpen
getset

The documentation for this class was generated from the following file: