public void updateHPBar(Int32 hp, Int32 hpmax) { if (hud_infosObj != null) { hudinfos.updateHPBar(hp, hpmax); } }
public void updateHPBar(Int32 hp, Int32 hpmax) { //if (hud_infosObj != null) if (!(System.Object.ReferenceEquals(hud_infosObj, null))) { hudinfos.updateHPBar(hp, hpmax); } }