Show / Hide Table of Contents

Class PlatformerAnimation2D

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
PlatformerAnimation2D
Namespace: Edgar.Unity.Examples.PC2D
Assembly: cs.temp.dll.dll
Syntax
public class PlatformerAnimation2D : MonoBehaviour

Fields

jumpRotationSpeed

Declaration
public float jumpRotationSpeed
Field Value
Type Description
System.Single

visualChild

Declaration
public GameObject visualChild
Field Value
Type Description
GameObject
In This Article
Back to top Generated by DocFX