Beispiel #1
0
 // Update is called once per frame
 void Update()
 {
     fuelUIPanel.fillAmount = playerSubmarine.GetFuelRatio();
     airUIPanel.fillAmount  = playerSubmarine.GetAirRatio();
 }