public void ChangePhoenixGaugeState(PlayerState newState) { GaugePresenter oldGauge = GetGaugeByCurrentState(); oldGauge.HideGauge(); PhoenixGaugeState = newState; GaugePresenter newGauge = GetGaugeByCurrentState(); newGauge.ShowGauge(); }
public override void Start() { base.Start(); AscendingPhoenixGauge.HideGauge(); DescendingPhoenixGauge.HideGauge(); RevivingPhoenixGauge.HideGauge(); GaugePresenter newGauge = GetGaugeByCurrentState(); newGauge.ShowGauge(); }