void OnGUI() { LogicGlobal.GlobalGUI(); GUILayout.Label("Simple persistent rope test (procedural rope and linkedobjects rope)"); GUILayout.Label("Move the mouse while holding down the left button to move the camera"); GUILayout.Label("Use the spacebar to shoot balls and aim for the ropes to test the physics"); }
void OnGUI() { LogicGlobal.GlobalGUI(); GUILayout.Label("Lamp rope physics test (procedural rope linked to a dynamic object)"); GUILayout.Label("Move the mouse while holding down the left button to move the camera"); GUILayout.Label("Use the spacebar to shoot balls and aim for the lamp to test the physics"); }
void OnGUI() { LogicGlobal.GlobalGUI(); GUILayout.Label("Breakable rope test (procedural rope and linkedobjects rope with breakable properties and notifications set)"); GUILayout.Label("Move the mouse while holding down the left button to move the camera"); GUILayout.Label("Use the spacebar to shoot balls and aim for the ropes to break them"); Color colGUIColor = GUI.color; GUI.color = new Color(255, 0, 0); if (bBroken1) { GUILayout.Label("Rope 1 was broken"); } if (bBroken2) { GUILayout.Label("Rope 2 was broken"); } GUI.color = colGUIColor; }
void OnGUI() { LogicGlobal.GlobalGUI(); GUILayout.Label("Rope test (Procedural rope with additional coil)"); GUILayout.Label("Use the keys i and o to extend the rope"); }