Esempio n. 1
0
 protected virtual void ExitRunCityState(fsm.State _from, fsm.State _to, fsm.Event _event)
 {
 }
Esempio n. 2
0
 protected virtual void EnterRestartState(fsm.State _from, fsm.State _to, fsm.Event _event)
 {
     //Debug.LogInternal("[Stage] Restart");
     //ReadyToStart();
 }
Esempio n. 3
0
 void ExitStartFightState(fsm.State _from, fsm.State _to, fsm.Event _event)
 {
 }
Esempio n. 4
0
 protected virtual void ExitMainLoopState(fsm.State _from, fsm.State _to, fsm.Event _event)
 {
 }
Esempio n. 5
0
 protected virtual void EnterOverState(fsm.State _from, fsm.State _to, fsm.Event _event)
 {
     //Debug.LogInternal("[Stage] Over: " + stageName);
     //Deinit();
     //deinited_ = true;
 }
Esempio n. 6
0
 void EnterActionedState(fsm.State _from, fsm.State _to, fsm.Event _event)
 {
     Debug.Log("EnterActionedState:" + actionedAnim);
     anim.Stop();
     anim.CrossFade(actionedAnim);
 }
Esempio n. 7
0
 protected virtual void EnterStartState(fsm.State _from, fsm.State _to, fsm.Event _event)
 {
     //deinited_ = false;
     //Debug.LogInternal("[Stage] Start: " + stageName);
     //Run();
 }
Esempio n. 8
0
 protected void ExitRunState(State _from, State _to, fsm.Event _event)
 {
 }
Esempio n. 9
0
 protected override void ExitMoveState(fsm.State _from, fsm.State _to, fsm.Event _event)
 {
 }
Esempio n. 10
0
 protected void EnterAwakeState(State _from, State _to, fsm.Event _event)
 {
     stateMachine.Send((int)EventType.LOAD);
 }
Esempio n. 11
0
 protected void EnterLoadState(State _from, State _to, fsm.Event _event)
 {
     SceneLoadMng.instance.LoadScene("level01_12", LoadFinish);
 }
Esempio n. 12
0
 protected virtual void ExitRunDungeonState(fsm.State _from, fsm.State _to, fsm.Event _event)
 {
 }
Esempio n. 13
0
 protected virtual void EnterInitDungeonState(fsm.State _from, fsm.State _to, fsm.Event _event)
 {
     GoRunDungeon();
 }
Esempio n. 14
0
 protected virtual void ExitInitArenaState(fsm.State _from, fsm.State _to, fsm.Event _event)
 {
 }
Esempio n. 15
0
 /// <summary>
 /// 进入黑屏状态 by吴江
 /// </summary>
 /// <param name="_from"></param>
 /// <param name="_to"></param>
 /// <param name="_event"></param>
 protected void EnterBlackProcesstate(fsm.State _from, fsm.State _to, fsm.Event _event)
 {
     GameCenter.cameraMng.BlackCoverAll(true);
 }
Esempio n. 16
0
 protected virtual void EnterSelfCtrlState(fsm.State _from, fsm.State _to, fsm.Event _event)
 {
     curEventType = EventType.SELF_CTRL;
 }
Esempio n. 17
0
 /// <summary>
 /// 退出黑屏状态 by吴江
 /// </summary>
 /// <param name="_from"></param>
 /// <param name="_to"></param>
 /// <param name="_event"></param>
 protected virtual void ExitBlackProcesState(fsm.State _from, fsm.State _to, fsm.Event _event)
 {
     GameCenter.cameraMng.BlackCoverAll(false);
 }
Esempio n. 18
0
 protected virtual void ExitSelfCtrlState(fsm.State _from, fsm.State _to, fsm.Event _event)
 {
 }
Esempio n. 19
0
 void ExitActionedState(fsm.State _from, fsm.State _to, fsm.Event _event)
 {
 }
Esempio n. 20
0
 protected virtual void EnterFightState(fsm.State _from, fsm.State _to, fsm.Event _event)
 {
     curEventType = EventType.FIGHT;
 }
Esempio n. 21
0
 protected virtual void EnterMainLoopState(fsm.State _from, fsm.State _to, fsm.Event _event)
 {
     //if (_from.name == "pause")
     //    Debug.LogInternal("[Stage] Resume: " + stageName);
 }
Esempio n. 22
0
 protected virtual void ExitCollectState(fsm.State _from, fsm.State _to, fsm.Event _event)
 {
     curTarSceneItem = null;
 }
Esempio n. 23
0
 protected virtual void EnterPauseState(fsm.State _from, fsm.State _to, fsm.Event _event)
 {
     //Debug.LogInternal("[Stage] Paused: " + stageName);
 }
Esempio n. 24
0
 protected virtual void ExitAutoFightState(fsm.State _from, fsm.State _to, fsm.Event _event)
 {
     isInAutoFIght = false;
 }
Esempio n. 25
0
 protected virtual void ExitOverState(fsm.State _from, fsm.State _to, fsm.Event _event)
 {
 }
Esempio n. 26
0
 /// <summary>
 /// 进入新手登录的原画播放状态
 /// </summary>
 /// <param name="_from"></param>
 /// <param name="_to"></param>
 /// <param name="_event"></param>
 protected void EnterNewbieGuideState(fsm.State _from, fsm.State _to, fsm.Event _event)
 {
 }
Esempio n. 27
0
 protected virtual void ExitRestartState(fsm.State _from, fsm.State _to, fsm.Event _event)
 {
     Reset();
 }
Esempio n. 28
0
 /// <summary>
 /// 退出新手加载状态 by吴江
 /// </summary>
 /// <param name="_from"></param>
 /// <param name="_to"></param>
 /// <param name="_event"></param>
 protected virtual void ExitNewbieGuideState(fsm.State _from, fsm.State _to, fsm.Event _event)
 {
 }
Esempio n. 29
0
 protected virtual void EnterNormalState(fsm.State _from, fsm.State _to, fsm.Event _event)
 {
     curEventType = EventType.NORMALMOVE;
 }
Esempio n. 30
0
 protected virtual void EnterInitCityState(fsm.State _from, fsm.State _to, fsm.Event _event)
 {
     GoRunCity();
 }