Example #1
0
 private void Awake()
 {
     base.Awake();
     playerKnockBackControl      = transform.root.GetComponentInChildren(typeof(IKnockbackable)) as IKnockbackable;
     meleeAbilityStats           = GetComponent <MeleeAbilityStats>();
     meleeEffectCollider.enabled = false;
 }
Example #2
0
 void Awake()
 {
     base.Awake();
     statesManager               = GetComponentInParent <CharacterStatesManager>();
     meleeAbilityStats           = GetComponent <MeleeAbilityStats>();
     meleeEffectCollider.enabled = false;
 }