Fix using unsigned integer properties in Visual Script editor

This commit is contained in:
Wojtek Figat
2021-01-06 11:31:38 +01:00
parent f10c6b4ff6
commit eec6957b08
4 changed files with 34 additions and 11 deletions

View File

@@ -332,7 +332,10 @@ namespace FlaxEditor.Surface
/// <seealso cref="FlaxEditor.CustomEditors.CustomEditor" />
public class ParametersEditor : CustomEditor
{
private static readonly Attribute[] DefaultAttributes = { new LimitAttribute(float.MinValue, float.MaxValue, 0.1f) };
private static readonly Attribute[] DefaultAttributes =
{
//new LimitAttribute(float.MinValue, float.MaxValue, 0.1f),
};
/// <inheritdoc />
public override DisplayStyle Style => DisplayStyle.InlineIntoParent;