From fabff5bab6c148218863fdb8d3760a8acb35915f Mon Sep 17 00:00:00 2001 From: realtradam Date: Thu, 8 Dec 2022 18:27:49 -0500 Subject: fix basic scene --- Assets/Scripts/MovingSphere.cs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Assets/Scripts') diff --git a/Assets/Scripts/MovingSphere.cs b/Assets/Scripts/MovingSphere.cs index a839ca7..495d229 100644 --- a/Assets/Scripts/MovingSphere.cs +++ b/Assets/Scripts/MovingSphere.cs @@ -28,13 +28,11 @@ public class MovingSphere : MonoBehaviour Vector3 inputVelocity; - // Start is called before the first frame update void Awake() { body = GetComponent(); } - // Update is called once per frame void Update() { Vector2 playerInput = new Vector2( @@ -68,7 +66,6 @@ public class MovingSphere : MonoBehaviour if(desiredJump) { - Debug.Log("Attempted Jump!"); desiredJump = false; Jump(); } @@ -89,7 +86,6 @@ public class MovingSphere : MonoBehaviour { if(onGround || jumpPhase < maxAirJumps) { - Debug.Log("Jump!"); jumpPhase += 1; float jumpSpeed = Mathf.Sqrt(-2f * Physics.gravity.y * jumpHeight); if(velocity.y > 0f) -- cgit v1.2.3