Exemplo n.º 1
0
 public override void HealthMasterSet(LivingHealthMasterBase livingHealth)
 {
     bodyPart                 = GetComponent <BodyPart>();
     playerHealth             = bodyPart.HealthMaster as PlayerHealthV2;
     bodyPart.ModifierChange += ModifierChanged;
     playerHealth.OrNull()?.PlayerMove.AddModifier(this);
 }
Exemplo n.º 2
0
 public void Initialize()
 {
     bodyPart                 = GetComponent <BodyPart>();
     playerHealth             = bodyPart.HealthMaster as PlayerHealthV2;
     bodyPart.ModifierChange += ModifierChanged;
     playerHealth.OrNull()?.PlayerMove.AddModifier(this);
 }