2017年3月19日 星期日

FocusColor

FocusColor


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

Description

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

Variables


normal The color of the target in the normal state.

disable The color of the target when it is not enable.

disableFocus The color of the target when it is not enable and its in the focus state.

focus The color of the target in the focus state.

includeChildren Whether it contains all sub-objects.

normal The color of the target in the normal state.

target To change color of the MaskableGraphic.

Inherited members


Variables


curve Focus on the lerp curve.

defocusAfterFocusing Defocused immediately after focusing.

durationFocus Focus time in seconds.

durationDefocus Defocus time in seconds.

ignoreTimeScale Whether to ignore the time zoom.

onBegin Start focusing and defocusing events.

onFinished Focus and defocus end event.

refocus Whether to re-focus the effect. When the button is already in focus, whether to re-focus effect while clicking.

Public Functions


QuickSetStatus Set the focus state. Ignore the tween process.

Recover Revert to the state before focusing.

SetStatus Set the focus state.




Scripting

沒有留言:

張貼留言