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