// 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 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"); }
private void ReturnToStarScene() { ChangeSceneSignal.Dispatch("StartScene"); }