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