Compare commits
No commits in common. "f320603800f7e70dfd38c22af7eb6109d12945cf" and "b228433eaac2e218d41c0825334c6f5cd45dc27b" have entirely different histories.
f320603800
...
b228433eaa
|
@ -36,7 +36,7 @@ public class HealthComponent : MonoBehaviour, ISquezeDamageReceiver
|
||||||
void Awake()
|
void Awake()
|
||||||
{
|
{
|
||||||
currentHealth = maxHealth;
|
currentHealth = maxHealth;
|
||||||
OnHealthChange.AddListener((prev, nex) => showRedTint = nex<prev);
|
OnHealthChange.AddListener((_, _) => showRedTint = true);
|
||||||
StartCoroutine(RedTintLoop());
|
StartCoroutine(RedTintLoop());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue