// public IEnumerator SkillUsing() // { // float timer = 0.0f; // this.View.Character.Rate = 0.0f; // // while (timer < this.View.Character.CurrentSkill.SkillTime) // { // timer += Time.deltaTime; // yield return null; // } // this.View.Character.Rate = 1.0f; // this.View.Character.CurrentSkill.SkillExit(); // this.View.Character.SetCurrentSkill(null); // } void OnTriggerEnter(Collider other) { if (other.tag.Equals("TeleportationCircle")) { ChangeSceneSignal.Dispatch("Scene02"); } }
public GameController(IGameManager gameManager, ChangeSceneSignal changeSceneSignal, GameStatusChangedSignal gameStatusChangedSignal, AreaClickedSignal areaClickedSignal, CurrentMarkChangedSignal currentMarkChangedSignal) { _gameManager = gameManager; _changeSceneSignal = changeSceneSignal; _areaClickedSignal = areaClickedSignal; _gameStatusChangedSignal = gameStatusChangedSignal; _currentMarkChangedSignal = currentMarkChangedSignal; }
public Storyboard(ChangeSceneSignal changeSceneSignal, ApplicationState state) { ChangeSceneSignal = changeSceneSignal; State = state; _scenes = new LinkedList <IStoryboardScene> { new StoryboardScene("MaleSoldierReport", "male_soldier_report"), new StoryboardScene("FemaleSoldierReport", "female_soldier_report"), new StoryboardScene("LiatJanekPrep", "liat_janek_prep"), new StoryboardScene("LiatAudricH2H", "liat_audric_h2h"), new StoryboardScene("LiatAudricBalcony", "liat_audric_balcony"), new StoryboardScene("LiatAudricOverlook", "liat_audric_overlook"), new BattleStoryboardScene("Chapter1", "chapter_1_battle", new Rout()), new BattleStoryboardScene("Chapter2", "chapter_2_battle", new Rout()) }; }
public void StartScene(GameObject source, ChangeSceneSignal changeSceneSignal, ApplicationState state) { changeSceneSignal.Dispatch(source, _sceneName); }
public override void Execute() { ChangeSceneSignal.Dispatch(View, "LoadGame"); }
private void OnClickCreatNewGame() { ChangeSceneSignal.Dispatch("Scene01"); }
public void Init(ChangeSceneSignal changeSceneSignal, ShowTextSignal showTextSignal) { _changeSceneSignal = changeSceneSignal; _showTextSignal = showTextSignal; }
public AppManager(ChangeSceneSignal changeScene) { this.changeScene = changeScene; }
public void LateDispose() { _changeSceneSignal -= OnSceneChange; _areaClickedSignal -= OnAreaClicked; _resetSignal -= OnReset; }
public void Initialize() { _changeSceneSignal += OnSceneChange; _areaClickedSignal += OnAreaClicked; _resetSignal += OnReset; }
private void ReturnToStarScene() { ChangeSceneSignal.Dispatch("StartScene"); }