thmsndk / Screeps3D

A 3D client for the MMORTS Screeps.com
90 stars 17 forks source link

Feature/settings #204

Closed thmsndk closed 4 years ago

thmsndk commented 4 years ago

A dynamic settings interface that allows easy registration of settings / pages & sections, you open it by pressing ESC

The property or field needs to be static and have the SettingAttribute

[Setting("Misc/Camera", "Enable CameraIdle", "Enable / Disable camera idle")]
private static bool _enableCameraIdle = true;
[Setting("Misc/Camera", "Minimum Minutes", "")]
private static float _minimumIdleMinutes = 1f;
[Setting("Misc/Camera", "Maximum Minutes", "")]
private static float _maximumIdleMinutes = 5f;

image

Closes #180