2D Platform Controller  v1.7.0
Autogenerated code documentation for the 2D Platform Controller.
 All Classes Functions Variables Properties
Collectable Class Reference

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...
 

Detailed Description

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 :)

Member Data Documentation

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.


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