/// <summary> /// On init we grab our CharacterOrientation3D ability /// </summary> protected override void Initialization() { _characterOrientation3D = this.gameObject.GetComponentInParent <Character>()?.FindAbility <CharacterOrientation3D>(); }
/// <summary> /// On init we grab our CharacterHandleWeapon ability /// </summary> protected override void Initialization() { _character = GetComponent <Character>(); _orientation3D = GetComponent <CharacterOrientation3D>(); _characterHandleWeapon = this.gameObject.GetComponent <CharacterHandleWeapon>(); }