Table of Contents

Class SwappableCanvasGroup

Namespace
Fallencake.UI
Assembly
Fallencake.UI.dll

Class that stores the state of CanvasGroups transitions on a Selectable.

[Serializable]
public class SwappableCanvasGroup : ISelectableStates<CanvasGroup>
Inheritance
object
SwappableCanvasGroup
Implements
ISelectableStates<CanvasGroup>

Properties

DisabledState

CanvasGroup that will be shown when entering disabled state.

public CanvasGroup DisabledState { get; set; }

Property Value

CanvasGroup

FadeDuration

How long a fading alpha transition between states should take.

public float FadeDuration { get; set; }

Property Value

float

HighlightedState

CanvasGroup that will be shown when entering highlighted state.

public CanvasGroup HighlightedState { get; set; }

Property Value

CanvasGroup

NormalState

CanvasGroup that will be shown when entering normal state.

public CanvasGroup NormalState { get; set; }

Property Value

CanvasGroup

PressedState

CanvasGroup that will be shown when entering pressed state.

public CanvasGroup PressedState { get; set; }

Property Value

CanvasGroup

SelectedState

CanvasGroup that will be shown when entering selected state.

public CanvasGroup SelectedState { get; set; }

Property Value

CanvasGroup