private void GetCurrentBarValues(string shipName)
 {
     if (shipName == "Partinili")
     {
         fuelBarValue.text         = PlayerInfoStatic.CurrentShipFuel.ToString() + "/" + ShipStatsUpgradesStatic.GetShipFuelCapacity().ToString();
         powerBarValue.text        = PlayerInfoStatic.CurrentShipPower.ToString() + "/" + ShipStatsUpgradesStatic.GetShipPowerCapacity().ToString();
         unitCapacityBarValue.text = PlayerInfoStatic.CurrentShipCapacity.ToString() + "/" + ShipStatsUpgradesStatic.partiniliUnitMaxCapacityMax;
         fuelBar.value             = PlayerInfoStatic.CurrentShipFuel;
         fuelBar.maxValue          = ShipStatsUpgradesStatic.GetShipFuelCapacity();
         powerBar.value            = PlayerInfoStatic.CurrentShipPower;
         powerBar.maxValue         = ShipStatsUpgradesStatic.GetShipPowerCapacity();
         unitCapacityBar.value     = PlayerInfoStatic.CurrentShipCapacity;
         unitCapacityBar.maxValue  = ShipStatsUpgradesStatic.GetShipUnitCapacityMax();
     }
     if (shipName == "Tugarak")
     {
         fuelBarValue.text         = PlayerInfoStatic.CurrentShipFuel.ToString() + "/" + Tugarak.MaxFuel;
         powerBarValue.text        = PlayerInfoStatic.CurrentShipPower.ToString() + "/" + Tugarak.MaxPower;
         unitCapacityBarValue.text = PlayerInfoStatic.CurrentShipCapacity.ToString() + "/" + Tugarak.MaxUnitCapacity;
     }
     if (shipName == "Shupe")
     {
         fuelBarValue.text         = PlayerInfoStatic.CurrentShipFuel.ToString() + "/" + Shupe.MaxFuel;
         powerBarValue.text        = PlayerInfoStatic.CurrentShipPower.ToString() + "/" + Shupe.MaxPower;
         unitCapacityBarValue.text = PlayerInfoStatic.CurrentShipCapacity.ToString() + "/" + Shupe.MaxUnitCapacity;
     }
 }
    // Update is called once per frame
    void Update()
    {
        if (pauseSpaceScene == true)
        {
            Time.timeScale          = 0;
            shipController.isMoving = false;
        }
        else if (upgradeMenuClosed)
        {
            upgradeMenuClosed       = false;
            Time.timeScale          = 1;
            shipController.isMoving = false;
        }

        creditsPlayerText.text = PlayerInfoStatic.CurrentCredits.ToString();
        xpPlayerText.text      = PlayerInfoStatic.CurrentXP.ToString();

        if (Input.GetMouseButtonDown(0))
        {
            GetClickedPlanetInfo();
        }

        fuelBar.maxValue  = ShipStatsUpgradesStatic.GetShipFuelCapacity();
        powerBarText.text = PlayerInfoStatic.CurrentShipPower.ToString();
        powerBar.value    = PlayerInfoStatic.CurrentShipPower;

        if (shipController.isMoving)
        {
            PlayerInfoStatic.CurrentShipFuel -= 3.3f * Time.deltaTime;
            PlayerInfoStatic.CurrentShipFuel  = (float)System.Math.Round(PlayerInfoStatic.CurrentShipFuel, 2);
            fuelBar.value    = PlayerInfoStatic.CurrentShipFuel;
            fuelBarText.text = PlayerInfoStatic.CurrentShipFuel.ToString();
        }
        else
        {
            fuelBar.value    = PlayerInfoStatic.CurrentShipFuel;
            fuelBarText.text = PlayerInfoStatic.CurrentShipFuel.ToString();
        }

        if (fuelBar.value < 50)
        {
            lerpColor = Color.Lerp(Color.black, Color.red, Mathf.PingPong(Time.time, 0.6f));
            backGroundFuelBar.color = lerpColor;
        }
        else
        {
            backGroundFuelBar.color = fuelBarDefualtBckColor;
        }
    }