|
2D Platform Controller
v1.7.0
Autogenerated code documentation for the 2D Platform Controller.
|
A hit box takes damage and passes it to a health component for processing. This allows you to easily move the damage points or alternatively attach them to transforms. More...
Inherits MonoBehaviour.
Public Member Functions | |
| virtual void | Damage (int amount) |
| virtual void | Collect (Collectable collectable) |
Public Attributes | |
| SimpleHealth | simplehealth |
A hit box takes damage and passes it to a health component for processing. This allows you to easily move the damage points or alternatively attach them to transforms.
A hit box can also be used to collect items. Although at the moment the collect method doesn't do anything. You could sue this to grant powers, increment counters, etc.