2017年3月19日 星期日

FocusAlpha

FocusAlpha


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

Description

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

Variables


normal The alpha of the target in the normal state.

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

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

focus The alpha of the target in the focus state.

includeChildren Whether it contains all sub-objects.

normal The alpha of the target in the normal state.

target To change alpha 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.

沒有留言:

張貼留言