Class PopupTweenAnimator
- Namespace
- Fallencake.UI
- Assembly
- Fallencake.UI.dll
public abstract class PopupTweenAnimator : TweenAnimatorBase, IPopupTweenAnimator
- Inheritance
-
objectObjectComponentBehaviourMonoBehaviourPopupTweenAnimator
- Implements
- Derived
- Inherited Members
Properties
IsHiddenOnStart
public bool IsHiddenOnStart { get; }
Property Value
- bool
IsHideAnimating
Returns true if Hide animation is currently playing
public bool IsHideAnimating { get; }
Property Value
- bool
IsShowAnimating
Returns true if Show animation is currently playing
public bool IsShowAnimating { get; }
Property Value
- bool
OnHideEnd
Event called when Hide animation ends
public UnityEvent OnHideEnd { get; }
Property Value
- UnityEvent
OnHideStart
Event called when Hide animation starts
public UnityEvent OnHideStart { get; }
Property Value
- UnityEvent
OnHideUpdate
Event called every frame during Hide animation
public UnityEvent OnHideUpdate { get; }
Property Value
- UnityEvent
OnShowEnd
Event called when Show animation ends
public UnityEvent OnShowEnd { get; }
Property Value
- UnityEvent
OnShowStart
Event called when Show animation starts
public UnityEvent OnShowStart { get; }
Property Value
- UnityEvent
OnShowUpdate
Event called every frame during Show animation
public UnityEvent OnShowUpdate { get; }
Property Value
- UnityEvent
Methods
Hide(Action)
public abstract void Hide(Action onComplete = null)
Parameters
onCompleteAction
HideInstantly(Action)
public abstract void HideInstantly(Action onComplete = null)
Parameters
onCompleteAction
InitializeTintParameters()
Initializes tint parameters to capture current colors if UseCurrentColorAsStart is enabled
protected virtual void InitializeTintParameters()
InvokeHideEnd()
Called internally to trigger hide end event
protected virtual void InvokeHideEnd()
InvokeHideStart()
Called internally to trigger hide start event
protected virtual void InvokeHideStart()
InvokeHideUpdate()
Called internally to trigger hide update event
protected virtual void InvokeHideUpdate()
InvokeShowEnd()
Called internally to trigger show end event
protected virtual void InvokeShowEnd()
InvokeShowStart()
Called internally to trigger show start event
protected virtual void InvokeShowStart()
InvokeShowUpdate()
Called internally to trigger show update event
protected virtual void InvokeShowUpdate()
OnEnable()
protected virtual void OnEnable()
Show(Action)
public abstract void Show(Action onComplete = null)
Parameters
onCompleteAction
Start()
protected virtual void Start()