2017年3月19日 星期日

FocusGradientAlpha

FocusGradientAlpha


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

Description

Let the players know the gradient alpha components of the current focus button.

Variables


delta The amount of the alpha of a decrement (or power down) by one unit per distance to the focus button.

focus The alpha when the button is focused.

includeChildren Whether it contains all sub-objects.

target To change alpha of the MaskableGraphic.

Inherited members


Variables


curve Focus on the lerp curve.

durationFocus Focus time in seconds.

durationDefocus Defocus time in seconds.

gradientType Type of Gradient.

ignoreTimeScale Whether to ignore the time zoom.

onBegin Start focusing and defocusing events.

onFinished Focus and defocus end event.

Public Functions


QuickSetStatus Set the focus state. Ignore the tween process.

Recover Revert to the state before focusing.

SetStatus Set the focus state.




Scripting

沒有留言:

張貼留言