mirror of
https://github.com/DerTyp7/defrain-shooter-unity.git
synced 2025-10-29 20:52:10 +01:00
added PlayerClass with Sync
This commit is contained in:
@@ -80,7 +80,7 @@ public class PlayerController : MonoBehaviour
|
||||
//Jump
|
||||
if (Input.GetButtonDown("Jump") && isGrounded)
|
||||
{
|
||||
Debug.Log("Jump");
|
||||
//Debug.Log("Jump");
|
||||
velocityY += Mathf.Sqrt(jumpHeight * -2f * gravity);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user