![]() |
Platformer Pro
2.3.2
A platform game kit for Unity.
|
Base class for simple FX. More...
Public Member Functions | |
virtual void | StartEffect () |
Starts the effect. More... | |
virtual void | StartEffect (GameObject callbackObject, string function) |
Starts the effect. More... | |
Public Attributes | |
bool | playOnAwake |
Should we play this on awake. More... | |
Protected Member Functions | |
abstract void | DoEffect () |
The effect implementation. More... | |
Protected Attributes | |
bool | playWhenEnabled |
If we have play on awake true but we are not enabled we will defer the play until we are enabled. More... | |
Base class for simple FX.
|
protectedpure virtual |
The effect implementation.
Implemented in PlatformerPro.Extras.FX_UIMoveTo, PlatformerPro.Extras.FX_UIFadeToColour, PlatformerPro.Extras.FX_SpinningObject, PlatformerPro.Extras.FX_SnapTo, PlatformerPro.Extras.FX_Shake, PlatformerPro.Extras.FX_MoveTo, PlatformerPro.Extras.FX_ImpartForce2D, PlatformerPro.Extras.FX_Flash, PlatformerPro.Extras.FX_FadeToColour, and PlatformerPro.Extras.FX_DisableAfterDelay.
|
virtual |
Starts the effect.
|
virtual |
Starts the effect.
callbackObject | Call back object. |
function | Function to call. |
bool PlatformerPro.Extras.FX_Base.playOnAwake |
Should we play this on awake.
|
protected |
If we have play on awake true but we are not enabled we will defer the play until we are enabled.