mirror of
https://github.com/ConjureETS/PixelSphinx.git
synced 2026-03-24 02:20:58 +00:00
removed buttons
This commit is contained in:
parent
db73333e2a
commit
39938c1408
@ -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();
|
|
||||||
}*/
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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()
|
private void EarthquakeBoom()
|
||||||
{
|
{
|
||||||
isExploding = true;
|
isExploding = true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user