Closed ChrisGora closed 4 years ago
This certainly is the biggest tiny refactor I've ever seen. :open_mouth:
No idea what the InitTestScene
files are doing there. They are some kind of unity testing output. Will delete.
I removed all unused NuGet packages and the Unity Lib that's only needed for tests
Made a small refactor of the Parking logic to make it free of MonoBehaviours and Transforms (in the name of easier testing!)
ParkingSpace
logic is now in aParkingSpaceController
which is unaware of any MonoBehaviours.ParkingSpaceController
timer is updated using a newUpdate()
method inServerParkingSpaceManager
.Utils.ObjectTransform
. Make sure you use that class when passing transforms out of MonoBehaviours in the future.