mirror of
https://github.com/alee14-projects/prototype-a.git
synced 2025-01-22 08:11:55 -05:00
Update Selector.cs
This commit is contained in:
parent
f83894eb7f
commit
a203857b77
1 changed files with 4 additions and 4 deletions
|
@ -31,19 +31,19 @@ public class Selector : MonoBehaviour
|
|||
{
|
||||
if (twoSelected == false)
|
||||
{
|
||||
physGun.SetActive(true);
|
||||
cineCamera.SetActive(true);
|
||||
twoSelected = true;
|
||||
if (oneSelected == true)
|
||||
{
|
||||
oneSelected = false;
|
||||
}
|
||||
Debug.Log("PhysGun selected");
|
||||
Debug.Log("CineCamera selected");
|
||||
}
|
||||
else
|
||||
{
|
||||
physGun.SetActive(false);
|
||||
cineCamera.SetActive(false);
|
||||
twoSelected = false;
|
||||
Debug.Log("PhysGun deselected");
|
||||
Debug.Log("CineCamera deselected");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue