diff --git a/Assets/Scripts/PlayerController.cs b/Assets/Scripts/PlayerController.cs index 395770b..3493054 100644 --- a/Assets/Scripts/PlayerController.cs +++ b/Assets/Scripts/PlayerController.cs @@ -12,7 +12,7 @@ public class PlayerController : MonoBehaviour // Start is called once before the first execution of Update after the MonoBehaviour is created void Start() { - rb = GetComponent; + rb = GetComponent(); } // Update is called once per frame