Example #1
0
 private void Awake()
 {
     //Initialize hp and cache.
     hp = maxHP;
     invulnerabilityGraphics = GetComponent <InvulnerabilityGraphics>();
 }
Example #2
0
 private void Awake()
 {
     //Cache
     boss = GetComponentInParent <Boss>();
     invulnerabilityGraphics = GetComponentInParent <InvulnerabilityGraphics>();
 }