DoopelPonger
Public Member Functions | List of all members
UITransition Class Referenceabstract

UI object that should have a transition in and transition out animation. More...

Inheritance diagram for UITransition:
Inheritance graph
[legend]
Collaboration diagram for UITransition:
Collaboration graph
[legend]

Public Member Functions

delegate void AnimationFinishedCallback ()
 
abstract void TransitionIn (float totalTransitionTime, float waitTimeBeforeTransitionStarts)
 Start the transition in animation. More...
 
abstract void TransitionOut (float totalTransitionTime, float waitTimeBeforeTransitionStarts, AnimationFinishedCallback animationFinishedCallback)
 Start the transition out animation. More...
 

Detailed Description

UI object that should have a transition in and transition out animation.

Member Function Documentation

◆ AnimationFinishedCallback()

delegate void UITransition.AnimationFinishedCallback ( )

◆ TransitionIn()

abstract void UITransition.TransitionIn ( float  totalTransitionTime,
float  waitTimeBeforeTransitionStarts 
)
pure virtual

Start the transition in animation.

Parameters
totalTransitionTimeTime it should take to transition in.
waitTimeBeforeTransitionStartsTime to wait before starting the transition.

Implemented in UIBlendTreeTransition.

◆ TransitionOut()

abstract void UITransition.TransitionOut ( float  totalTransitionTime,
float  waitTimeBeforeTransitionStarts,
AnimationFinishedCallback  animationFinishedCallback 
)
pure virtual

Start the transition out animation.

Parameters
totalTransitionTimeTime it should take to transition in.
waitTimeBeforeTransitionStartsTime to wait before starting the transition.
animationFinishedCallbackFunction to call once the animation has finished, could be null.

Implemented in UIBlendTreeTransition.


The documentation for this class was generated from the following file: