Applies a slide effect to the GUI control, making it slide onscreen from a direction. More...
Public Types | |
enum | SlideDirection { FromBottom , FromTop , FromLeft , FromRight } |
Directions that the effect can slide from. More... | |
Public Member Functions | |
override IEnumerator | Play () |
Play the slide effect. | |
Public Member Functions inherited from PixelCrushers.DialogueSystem.UnityGUI.GUIEffect | |
IEnumerator | Play () |
Plays the effect. | |
virtual void | Stop () |
void | OnEnable () |
void | OnDisable () |
Public Attributes | |
SlideDirection | direction |
The direction to slide from. | |
float | duration = 0.3f |
The duration over which to animate the slide. | |
Public Attributes inherited from PixelCrushers.DialogueSystem.UnityGUI.GUIEffect | |
GUIEffectTrigger | trigger = GUIEffectTrigger.OnEnable |
The trigger that makes the effect play. | |
Applies a slide effect to the GUI control, making it slide onscreen from a direction.
|
inline |
Play the slide effect.
SlideDirection PixelCrushers.DialogueSystem.UnityGUI.SlideEffect.direction |
The direction to slide from.
float PixelCrushers.DialogueSystem.UnityGUI.SlideEffect.duration = 0.3f |
The duration over which to animate the slide.