2017年5月14日 星期日

FadeAnimation

FadeAnimation


class in UnityEngine.UI.iMenu / Inherits from:IFade

Description

This component will allow you under the situation of using the Navigator components to use the AnimationClip to achieve the menu dynamic, and then place this component on the GameObject of the menu.

Variables


clipFadeIn The animation clip when the menu fade in.

clipFadeOut The animation clip when the menu fade out.


Inherited members


Public Functions



FadeIn Execute the page fade in.

FadeOut Execute the page fade out.





Scripting

IFade

IFade


class in UnityEngine.UI.iMenu

Description

Processing the dynamics of the menu.

Public Functions


FadeIn Execute the page fade in.

FadeOut Execute the page fade out.





Scripting

Navigator

Navigator


class in UnityEngine.UI.iMenu / Inherits from:INavigator

Description

This component will allow you to easily handle menu switching with a small amount of code or even without any code.

Variables


playAutomatically Does it play automatically for openinnig the first page?

pageDatas Pages of the All you want to navigate.

Public Functions


AddPageData Add a page to the navigator.

HavePageInNavigator Whether the page is already in the navigator.

RemovePageData Remove a page data from the navigator.

OpenFirstPage Open and execute the first page.

CloseActivityPages Close all active pages.

AddOnExchangeListener Add listener of the page exchange event.

AddOnExchangeFinishedListener Add listener of the page finishes exchange event.

RemoveOnExchangeListener Remove the "OnExchange" listeners.

RemoveOnExchangeFinishedListener Remove the "OnExchangeFinished" listeners.

RemoveAllOnExchangeListener Remove all "OnExchange" listeners.

RemoveAllOnExchangeFinishedListener Remove all "OnExchangeFinished" listeners.

ResetToFirstOption Reset the option index to the first enabled cell position.





Scripting

INavigator

INavigator


class in UnityEngine.UI.iMenu

Description

Abstract class for navigator.





Scripting

SubCell

SubCell


class in UnityEngine.UI.iMenu / Inherits from:IClick

Description

Sub-cells attached to the main cell.


Inherited members



Variables



clickParameter Used to distinguish which sub-cell to click on.




Scripting

IClick

IClick


class in UnityEngine.UI.iMenu

Description

Classes of the click.

Variables



clickParameter Used to distinguish which sub-cell to click on.




Scripting

2017年5月13日 星期六

Keyboard

Keyboard


class in UnityEngine.UI.iMenu / Inherits from:IControllerEntity

Description

Through the keyboard operation to switch the components of the options.


Variables


reverseKeys With "pressMode" reverse the keys.

allChangeGroup All key groups used to switch the direction of the options.

pressMode Defines the menu for it is executed when the button is pressed or when the key is released.

Inherited members



Variables


curve A curve that describes the change in speed.

listenKeys All the keys to be listened.

speedMode Switch the speed mode of options.

switchSpeed The speed of switching the options.

target The target element to control.




Scripting

IControllerEntity

IControllerEntity


class in UnityEngine.UI.iMenu / Inherits from:IController

Description

The abstract Class of the neat menu.

Variables


curve A curve that describes the change in speed.

listenKeys All the keys to be listened.

speedMode Switch the speed mode of options.

Inherited members


Variables


target The target element to control.

switchSpeed The speed of switching the options.


2017年5月1日 星期一

More Video

Navigator example:



How to create a map menu:



Dynamically create all the buttons in the menu:



iMenu Tutorial