add configuration options
This commit is contained in:
@@ -6,4 +6,16 @@ public class Units
|
||||
/// Factor of units per meter.
|
||||
/// </summary>
|
||||
public static readonly float Meters2Units = 100f;
|
||||
|
||||
// the next two bools could be cached values in the user preferences
|
||||
|
||||
/// <summary>
|
||||
/// Set it to false to always show game units without any postfix
|
||||
/// </summary>
|
||||
public static bool UseUnitsFormatting = true;
|
||||
|
||||
/// <summary>
|
||||
/// If set to true, the distance unit is chosen on the magnitude, otherwise it's meters
|
||||
/// </summary>
|
||||
public static bool AutomaticUnitsFormatting = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user