private void updateFsmSystem() { if (Input.GetMouseButtonDown(0)) { fsm.performTransition((int)StateID.Draw); } else if (Input.GetMouseButtonUp(0)) { fsm.performTransition((int)StateID.instantiation); } fsm.Update(); }
private void updateFsmSystem() { fsm.Update(); }