Exemplo n.º 1
0
 //回合结束:回调函数
 protected virtual void OnTurnEnd(T unit)
 {
     unit.OnTurnEnd();
     if (unit.IsPlayer())
     {
         BaseInputMgr.PushUnitSelect(false);
     }
 }
Exemplo n.º 2
0
 //回合开始:回调函数
 protected virtual void OnTurnStart(T unit, bool isForce)
 {
     unit.OnTurnStart(isForce);
     if (unit.IsPlayer())
     {
         BaseInputMgr.PushUnitSelect(true);
     }
 }