|
2D Platform Controller
v1.7.0
Autogenerated code documentation for the 2D Platform Controller.
|
A simple collectable item, it plays a particle effect when collected and invokes the Collect method on the HitBox class. Requries a HitBox on the character :) More...
Inherits MonoBehaviour.
Public Attributes | |
| Renderer | myRenderer |
| My renderer, as a variable so we can seperate the renderer and the trigger. For example see the coin in the Mario demo. More... | |
| ParticleSystem | particles |
| The particle system to play on hit. More... | |
A simple collectable item, it plays a particle effect when collected and invokes the Collect method on the HitBox class. Requries a HitBox on the character :)
| Renderer Collectable.myRenderer |
My renderer, as a variable so we can seperate the renderer and the trigger. For example see the coin in the Mario demo.
| ParticleSystem Collectable.particles |
The particle system to play on hit.