private void Update() { engineIndicator.SetLevel(ObjectManager.Instance.ShipSystems.Engine.CurrentEnergy / 100f); shieldIndicator.SetLevel(ObjectManager.Instance.ShipSystems.Shield.CurrentEnergy / 100f); weaponIndicator.SetLevel(ObjectManager.Instance.ShipSystems.Weapon.CurrentEnergy / 100f); }
private void Awake() { this.DefaultEnergy(50f); lamps.SetLevel(0f); //if (currentDamageState == null) currentDamageState = DamageState.Operational; }