protected override void SetInitialReferences() { base.SetInitialReferences(); _aiDetectFriendBehaviour = this.GetComponent <AIDetectFriendBehaviour>(); _animator = this.GetComponent <Animator>(); }