// Collects all of the scripts used for the player void Start() { inputHandler = GetComponent <InputHandler>(); playerLocomotion = GetComponent <PlayerLocomotion>(); checkSurroundings = GetComponent <CheckSurroundings>(); anim = GetComponentInChildren <Animator>(); isInteracting = false; }
private void Awake() { checkSurroundings = GetComponent <CheckSurroundings>(); playerManager = GetComponent <PlayerManager>(); }