Class MetroidvaniaPlatformerAnimation2D
This is a very very very simple example of how an animation system could query information from the motor to set state. This can be done to explicitly play states, as is below, or send triggers, float, or bools to the animator. Most likely this will need to be written to suit your game's needs.
Inheritance
System.Object
MetroidvaniaPlatformerAnimation2D
Namespace: Edgar.Unity.Examples.Metroidvania
Assembly: cs.temp.dll.dll
Syntax
public class MetroidvaniaPlatformerAnimation2D : MonoBehaviour
Fields
jumpRotationSpeed
Declaration
public float jumpRotationSpeed
Field Value
Type | Description |
---|---|
System.Single |
visualChild
Declaration
public GameObject visualChild
Field Value
Type | Description |
---|---|
GameObject |