MotionAsset
class in Eddie
Description
MotionAsset is an abstract ScriptableObject that is used to define certain movements by updating the controller inputs.
For a platformer game for example. A MotionAsset can represent a jump level (Holding jump for a certain duration).
Abstract Methods
| Method | Description |
|---|---|
| Instance | Returns a MotionInstance of the asset. |
| Setup | Called before initiating the movement. |
| TimeUpdate | Called each frame. |