added PlayerClass with Sync

This commit is contained in:
DerTyp187
2021-10-14 20:16:38 +02:00
parent e057a569a5
commit 666e4f479f
5 changed files with 65 additions and 1 deletions

View File

@@ -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);
}