Merge branch 'unit-formatting' of https://github.com/nothingTVatYT/FlaxEngine into nothingTVatYT-unit-formatting
# Conflicts: # Source/Editor/CustomEditors/Editors/ActorTransformEditor.cs # Source/Editor/Options/InterfaceOptions.cs # Source/Engine/Core/Math/Transform.h
This commit is contained in:
@@ -1038,5 +1038,23 @@ namespace FlaxEngine
|
||||
parameterTypes = Array.Empty<Type>();
|
||||
return parameterTypes;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// A category of number values used for formatting and input boxes
|
||||
/// </summary>
|
||||
public enum ValueCategory
|
||||
{
|
||||
None,
|
||||
Distance,
|
||||
Area,
|
||||
Volume,
|
||||
Mass,
|
||||
Angle,
|
||||
Speed,
|
||||
Acceleration,
|
||||
Time,
|
||||
Force,
|
||||
Torque
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user