void Awake() { SSDirector director = SSDirector.getInstance(); director.currentSceneController = this; userGUI = gameObject.AddComponent <InteractGUI>() as InteractGUI; characters = new MyCharacterController[6]; LoadResources(); }
void Awake() { SSDirector director = SSDirector.getInstance(); director.currentSceneController = this; userGUI = gameObject.AddComponent <InteractGUI>() as InteractGUI; diskFactory = DiskFactory.diskFactory; round = 1; score = 0; flames = 60; }
void Awake() { SSDirector director = SSDirector.getInstance(); director.currentSceneController = this; userGUI = gameObject.AddComponent <InteractGUI>() as InteractGUI; characters = new MyCharacterController[6]; LoadResources(); judge = gameObject.AddComponent <Judge>() as Judge; nextpass.isFrom = true; gameStatus = 0; // 0->get on boat; 1->move boat; 2->get off boat }