Example #1
0
    public void ChangePhoenixGaugeState(PlayerState newState)
    {
        GaugePresenter oldGauge = GetGaugeByCurrentState();

        oldGauge.HideGauge();

        PhoenixGaugeState = newState;

        GaugePresenter newGauge = GetGaugeByCurrentState();

        newGauge.ShowGauge();
    }
Example #2
0
    public override void Start()
    {
        base.Start();

        AscendingPhoenixGauge.HideGauge();
        DescendingPhoenixGauge.HideGauge();
        RevivingPhoenixGauge.HideGauge();

        GaugePresenter newGauge = GetGaugeByCurrentState();

        newGauge.ShowGauge();
    }