using UnityEngine; using UnityEngine.InputSystem; namespace Player { [RequireComponent(typeof(PlayerInput))] public class Player : MonoBehaviour { private void Awake() { DontDestroyOnLoad(gameObject); } } }