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