//点击了地块、战斗单位 private void OnBattleUnitAndGridTouched(GridUnit gridTouched, BattleUnit battleUnitTouched) { #if TEST_NAV Test_Nav(gridTouched); return; #endif #if TEST_RANGE Test_Range(gridTouched); return; #endif #if TEST_REMOTE_RANGE Test_RemoteRange(gridTouched); return; #endif if (battleUnitTouched != null) { battleUnitTouched.battleBehaviourSystem.Think(); } if (gridTouched != null || battleUnitTouched != null) { UIViewManager.Instance.ShowView(UIViewName.BattleFieldUnitInfo, gridTouched, battleUnitTouched); } else { UIViewManager.Instance.HideView(UIViewName.BattleFieldUnitInfo); } //通知helper处理点击反馈逻辑 manualOperationHelper.OnBattleUnitAndGridTouched(gridTouched, battleUnitTouched); }
//点击了地块、战斗单位 private void OnBattleUnitAndGridTouched(GridUnit gridTouched, BattleUnit battleUnitTouched) { #if TEST_NAV Test_Nav(gridTouched); return; #endif #if TEST_RANGE Test_Range(gridTouched); return; #endif #if TEST_REMOTE_RANGE Test_RemoteRange(gridTouched); return; #endif //通知helper处理点击反馈逻辑 manualOperationHelper.OnBattleUnitAndGridTouched(gridTouched, battleUnitTouched); }
//点击了地块、战斗单位 private void OnBattleUnitAndGridTouched(GridUnit gridTouched, BattleUnit battleUnitTouched) { //通知helper处理点击反馈逻辑 manualOperationHelper.OnBattleUnitAndGridTouched(gridTouched, battleUnitTouched); }