Exemplo n.º 1
0
 void Awake()
 {
     healthComponent.SubscribeDamagePipeline(priorityLevel, ApplyDamage);
 }
Exemplo n.º 2
0
 void Awake()
 {
     healthComponent.SubscribeDamagePipeline(damagePriorityLevel, ApplyDamage);
     healthComponent.SubscribeHealingPipeline(-damagePriorityLevel, ApplyHeal);
     currentShield.Subscribe(ShieldClamp);
 }