diff --git a/Assets/Scripts/Astronaut.cs b/Assets/Scripts/Astronaut.cs index 7938d1e..178e027 100644 --- a/Assets/Scripts/Astronaut.cs +++ b/Assets/Scripts/Astronaut.cs @@ -281,20 +281,4 @@ public class Astronaut : MonoBehaviour { } } - public void OnGUI() - { - if (GUI.Button(new Rect(10, 10, 150, 50), State.ToString())) - { - Stun(); - Debug.Log("Clicked the button with an image"); - //_astronautAnimator.Walk(); - //Eject(); - } - /* if (GUI.Button(new Rect(60, 10, 150, 50), "Stop")) - { - Debug.Log("Clicked the button with an image"); - _astronautAnimator.StopWalk(); - //Eject(); - }*/ - } } diff --git a/Assets/Scripts/Earthquake.cs b/Assets/Scripts/Earthquake.cs index 6bc1ebb..00c1e8b 100644 --- a/Assets/Scripts/Earthquake.cs +++ b/Assets/Scripts/Earthquake.cs @@ -44,15 +44,6 @@ public class Earthquake : MonoBehaviour { } } - void OnGUI() - { - if (GUI.Button(new Rect(100, 100, 50, 50), "BOOM")) - { - Debug.Log("Clicked the button with an image"); - EarthquakeBoom(); - } - } - private void EarthquakeBoom() { isExploding = true;