Ejemplo n.º 1
0
 private void ResetState()
 {
     StopAllCoroutines();
     c.enabled = false;
     grp.alpha = 1;
     if (linkRef != null)
     {
         hpBar.Unlink(linkRef.healthPoints);
         linkRef.healthPoints.OnChanged -= ChangeListener;
         linkRef = null;
     }
 }