2017年3月19日 星期日

ICell

ICell


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

Description

The most basic button unit.

If you want to customize the special button appearance, then add a C # script to inherit it!

Variables



downOptionIndex When this button goes down, it will jump to which index button. It's only useful in customMenu type.

leftOptionIndex When this button goes left, it will jump to which index button. It's only useful in customMenu type.

rightOptionIndex When this button goes right, it will jump to which index button. It's only useful in customMenu type.

upOptionIndex When this button goes up, it will jump to which index button. It's only useful in customMenu type.


Inherited members



Variables



clickParameter Used to distinguish which sub-cell to click on.The main cell is fixed to 0.




Scripting

沒有留言:

張貼留言