From 3f7c296b8d0781e412400d5382c67acfdd0632de Mon Sep 17 00:00:00 2001 From: stilnat Date: Sat, 9 Dec 2023 18:07:57 +0100 Subject: [PATCH] fix to make build work --- Assets/Scripts/SS3D/Systems/Electricity/BasicBattery.cs | 4 ++-- Assets/Scripts/SS3D/Systems/Electricity/ElectricitySystem.cs | 1 - Assets/Scripts/SS3D/Systems/Electricity/LightPower.cs | 5 +---- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Assets/Scripts/SS3D/Systems/Electricity/BasicBattery.cs b/Assets/Scripts/SS3D/Systems/Electricity/BasicBattery.cs index 174715a8f7..48fc1f894e 100644 --- a/Assets/Scripts/SS3D/Systems/Electricity/BasicBattery.cs +++ b/Assets/Scripts/SS3D/Systems/Electricity/BasicBattery.cs @@ -18,10 +18,10 @@ public class BasicBattery : BasicElectricDevice, IPowerStorage [SerializeField] private float _maxCapacity = 1000; - [SerializeField, ReadOnly] + [SerializeField] private float _storedPower = 0; - [SerializeField, ReadOnly] + [SerializeField] private float _maxPowerRate = 5f; protected bool _isOn = true; diff --git a/Assets/Scripts/SS3D/Systems/Electricity/ElectricitySystem.cs b/Assets/Scripts/SS3D/Systems/Electricity/ElectricitySystem.cs index 8b93640c38..569aec128b 100644 --- a/Assets/Scripts/SS3D/Systems/Electricity/ElectricitySystem.cs +++ b/Assets/Scripts/SS3D/Systems/Electricity/ElectricitySystem.cs @@ -8,7 +8,6 @@ using QuikGraph.Algorithms; using SS3D.Systems.Tile; using SS3D.Utils; -using log4net.Util; using SS3D.Core; using System.Linq; using System.Text.RegularExpressions; diff --git a/Assets/Scripts/SS3D/Systems/Electricity/LightPower.cs b/Assets/Scripts/SS3D/Systems/Electricity/LightPower.cs index dc0339ba91..e770b4bda2 100644 --- a/Assets/Scripts/SS3D/Systems/Electricity/LightPower.cs +++ b/Assets/Scripts/SS3D/Systems/Electricity/LightPower.cs @@ -1,7 +1,4 @@ -using PlasticGui.WorkspaceWindow.PendingChanges; -using System.Collections; -using System.Collections.Generic; -using UnityEngine; +using UnityEngine; namespace System.Electricity {