void Awake() { // cache components to save on performance _transform = transform; _animator = this.GetComponent<Animator>(); character = this.GetComponent<Player1Controls>(); }