using UnityEngine; public class PlayerController : MonoBehaviour { private Rigidbody m_Rigidbody; private Camera m_Camera; private bool m_IsGrounded = false; private bool m_WantJump = false; private Vector2 m_MoveInput = Vector2.zero; private Vector2 m_LookInput = Vector2.zero; private Vector3 m_Velocity = Vector3.zero; private float m_MovementSmoothing = .05f; void Awake() { m_Rigidbody = GetComponent(); m_Camera = GetComponent(); } }