|
QuadUI 1.2.9 public beta
Run-time API for QuadUI
|
Public Member Functions | |
| void | PlayTransition (ScreenTransitionType type) |
| void | Clear () |
Public Attributes | |
| Screen2D | screen |
Protected Member Functions | |
| sealed override void | OnAnimationComplete () |
A Time.timeScale independent animation, used for transitions between screens.
This class is sealed and cannot be extended.
This is *very* important to be noted:
All AnimationClips for Screen Transitions should be gameObject.name + " Open" or " Close", etc. example: If the gameObject.name is "Main Menu" then the animation for Open should be "Main Menu Open"
Since animations are called on a string basis, this is the easiest way I can think of and keeps the project structure clean with naming conventions.
| void Screen2DTransition.Clear | ( | ) |
| sealed override void Screen2DTransition.OnAnimationComplete | ( | ) | [protected, virtual] |
This function is overridden and calls the method Screen2D.TransitionCompleted(ScreenTransitionType _type) of the appropriate Screen2D.
Reimplemented from TimescaleIndependentAnimation.
| void Screen2DTransition.PlayTransition | ( | ScreenTransitionType | type | ) |
Plays the transition which corresponds with ScreenTransitionType type.