2.5d test
This commit is contained in:
@@ -541,6 +541,15 @@ namespace BumpCombat.UI
|
||||
|
||||
private void BeginRun(RunMode mode)
|
||||
{
|
||||
if (mode == RunMode.DefensePrototype)
|
||||
{
|
||||
BumpCombat.Defense.DefensePrototypeController.PrepareTowerHitTestRun();
|
||||
}
|
||||
else
|
||||
{
|
||||
BumpCombat.Defense.DefensePrototypeController.CancelTowerHitTestRun();
|
||||
}
|
||||
|
||||
if (runManager == null || !runManager.BeginRun(mode))
|
||||
{
|
||||
return;
|
||||
@@ -580,6 +589,7 @@ namespace BumpCombat.UI
|
||||
|
||||
private void ReturnToTitle()
|
||||
{
|
||||
BumpCombat.Defense.DefensePrototypeController.CancelTowerHitTestRun();
|
||||
audioService?.PlayUi("ui_confirm");
|
||||
runManager?.RestartToTitle();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user