Add DefaultValue support for scripting parameters

This commit is contained in:
Wojtek Figat
2023-01-29 22:10:22 +01:00
parent a219a3d2eb
commit 238095b862

View File

@@ -337,6 +337,9 @@ namespace Flax.Build.Bindings
case "attributes":
currentParam.Attributes = tag.Value;
break;
case "defaultvalue":
currentParam.DefaultValue = tag.Value;
break;
default:
bool valid = false;
ParseFunctionParameterTag?.Invoke(ref valid, tag, ref currentParam);