コード例 #1
0
 public override void setHealthBar()
 {
     // This should call after building animation, that goes for a lot of traps..
     PlayerHud.addHealthBar(sentryObj.transform.Find("HealthBar"), this, team);
 }
コード例 #2
0
 public virtual void setHealthBar()
 {
     // Now does this:
     PlayerHud.addHealthBar(transform.Find("HealthBar"), this, team);
 }