public void ChangeSocialMeter(float diff) { if (socialMeter.gameObject.activeSelf && pnl_main.activeSelf) { socialMeter.SetBarProcent(diff / 1000.0f); } }
public void ChangeHealthMeter(float diff) { if (healthMeter.gameObject.activeSelf && pnl_main.activeSelf) { healthMeter.SetBarProcent(diff / 1000.0f); } }
public void ChangeWorkMeter(float diff) { if (workMeter.gameObject.activeSelf && pnl_main.activeSelf) { workMeter.SetBarProcent(diff / 1000.0f); } }