常用方法
常用方法
常用方法
常用方法
void OnGUI() { if (FSM.CurrentState == null) { return; } // This is how you can get your object back MenuUI ui = (MenuUI)FSM.CurrentState.StateObject; ui.DoGUI(); }
void OnGUI() { if (FSM.CurrentState == null) { return; } // This is how you can get your object back MenuUI ui = (MenuUI)FSM.CurrentState.StateObject; ui.DoGUI(); }