de-select
This commit is contained in:
parent
4a3336b4e5
commit
a29568067f
|
@ -51,6 +51,14 @@ public class CameraSlotClickDetect : MonoBehaviour
|
|||
else
|
||||
Debug.LogWarning("TowerCam scpritet is not assigned, assign in the inspector");
|
||||
}
|
||||
else
|
||||
{
|
||||
GameManager.Instance.SelectedTower = null;
|
||||
if (towerCam != null)
|
||||
towerCam.ChangeToTarget(null);
|
||||
else
|
||||
Debug.LogWarning("TowerCam scpritet is not assigned, assign in the inspector");
|
||||
}
|
||||
}
|
||||
|
||||
void ShootHoverRay()
|
||||
|
|
Loading…
Reference in New Issue