Open kianzarrin opened 2 years ago
@aubergine10 do you agree with this?
I think it depends on outcome of discussions in https://github.com/CitiesSkylinesMods/TMPE/issues/1372
Performance wise virtual property call cannot be optimised. Maybe a non virtual getter might not be a bad idea.
currently the values are stored in
Options.cs
and default values are in the legacy code that loads data. We need a central place to store values/default values. it is better to be all in one place. I think we should put them all inSerializableUIOptionBase
.related: #1372 says that all fields of this type should also be moved into one place.