Actor

Namespace

namespace Handy2DTools.Actions{}

Declaration

public abstract class Actor : MonoBehaviour {}

Fields

protected StateMachine

stateMachine

An internal reference for the actor’s StateMachine

Properties

public StateMachine { get; }

Machine

A public access for the actor’s StateMachine

Methods

protected virtual void

SetMachine()

Must be called internally at MonoBehaviour.Awake() in order to setup the StateMachine