Пример #1
0
 // Use this for initialization
 void Start()
 {
     sm = gameObject.GetComponent <CBStateMachine>();
     sm.LoadFromFile("data/avatar_state_machine");
 }
 // Use this for initialization
 void Start()
 {
     sm = gameObject.GetComponent <CBStateMachine>();
     sm.LoadFromFile("sample/data/sample_state_machine");
     sm.UpdateState();
 }