Class ToggleTestImageHook
Inheritance
Implements
Inherited Members
Namespace: Global Namespace
Assembly: UnityEngine.UI.Tests.dll
Syntax
public class ToggleTestImageHook : Image, ICanvasElement, IClippable, IMaskable, IMaterialModifier, ISerializationCallbackReceiver, ILayoutElement, ICanvasRaycastFilter
Fields
durationTween
Declaration
public float durationTween
Field Value
Type | Description |
---|---|
float |
Methods
CrossFadeColor(Color, float, bool, bool, bool)
Tweens the CanvasRenderer color associated with this Graphic.
Declaration
public override void CrossFadeColor(Color targetColor, float duration, bool ignoreTimeScale, bool useAlpha, bool useRGB)
Parameters
Type | Name | Description |
---|---|---|
Color | targetColor | Target color. |
float | duration | Tween duration. |
bool | ignoreTimeScale | Should ignore Time.scale? |
bool | useAlpha | Should also Tween the alpha channel? |
bool | useRGB | Should the color or the alpha be used to tween |