Table of Contents

Class TintGraphicPopupTweenParameters

Namespace
Fallencake.UI
Assembly
Fallencake.UI.dll

Popup tween parameters for animating Graphic color values with show/hide states

[Serializable]
public class TintGraphicPopupTweenParameters : PopupTweenParametersData<Graphic, Color>, IPopupTweenParametersData<Graphic, Color>, ITweenTargetData<Graphic>
Inheritance
object
PopupTweenParametersData<Graphic, Color>
TintGraphicPopupTweenParameters
Implements
Inherited Members

Constructors

TintGraphicPopupTweenParameters()

public TintGraphicPopupTweenParameters()

TintGraphicPopupTweenParameters(Graphic, Color, Color, bool)

public TintGraphicPopupTweenParameters(Graphic target, Color showColor, Color hideColor, bool useCurrentColorAsStart = false)

Parameters

target Graphic
showColor Color
hideColor Color
useCurrentColorAsStart bool

Properties

HideColor

Color when the element is hidden

public Color HideColor { get; set; }

Property Value

Color

HideValue

public override Color HideValue { get; }

Property Value

Color

ShowColor

Color when the element is shown

public Color ShowColor { get; set; }

Property Value

Color

ShowValue

public override Color ShowValue { get; }

Property Value

Color

Target

public override Graphic Target { get; }

Property Value

Graphic

UseCurrentColorAsStart

If true, uses the current color of the target as the start color instead of the specified ShowColor

public bool UseCurrentColorAsStart { get; set; }

Property Value

bool

Methods

Initialize()

Initializes the show color with the current color of the target if UseCurrentColorAsStart is true. This should be called once during the popup animator initialization.

public void Initialize()