2017年3月19日 星期日

FocusSprite

FocusSprite


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

Description

Let the players know the picture of the current focus button to change the component.

Variables


disable The sprite is displayed when the target is not enabled.

disableFocus The sprite is displayed when the target is not enabled and the focus is on.

focus The sprite is displayed when the target is in focus state.

normal The sprite is displayed when the target is in the normal state.

target To change the sprite's target image.



Inherited members


Public Functions


QuickSetStatus Set the focus state. Ignore the tween process.

Recover Revert to the state before focusing.

SetStatus Set the focus state.




Scripting

沒有留言:

張貼留言