-
Notifications
You must be signed in to change notification settings - Fork 237
Open
Description
Hi,
I'm using this simple example like you described in Readme:
using MonsterLove.StateMachine;
using UnityEngine;
public class FSMTest : MonoBehaviour
{
public enum States { Init }
StateMachine<States> fsm;
void Awake()
{
fsm = new StateMachine<States>(this);
fsm.ChangeState(States.Init);
}
void Init_Enter() { Debug.Log("Init_Enter"); }
void Init_FixedUpdate() { Debug.Log("Init_FixedUpdate"); }
void Init_Update() { Debug.Log("Init_Update"); }
}But the Update and FixedUpdate wont execcute.
What am I missing?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels