void Start() { string pushString = FSM_NS.HelperFile.getTextFileFromResource("testFSM"); myStateMachine = new FSM_NS.FSM(pushString, this); myStateMachine.jumpToState(startStateID); }
void Start() { string pushString = FSM_NS.HelperFile.getTextFileFromResource("carFSM"); myStateMachine = new FSM_NS.FSM(pushString, this); myStateMachine.jumpToState(startStateID); moveVector = Vector3.forward * speed; }
void Start() { listners = new List <GameObject>(); yellowLight.SetActive(false); greenLight.SetActive(false); string pushString = FSM_NS.HelperFile.getTextFileFromResource("lightFSM"); myStateMachine = new FSM_NS.FSM(pushString, this); myStateMachine.jumpToState(startStateID); }