-
Notifications
You must be signed in to change notification settings - Fork 153
Open
Description
Hello, thanks for the work this is great !
I encountered an issue when trying to create a simple "String Value" node, based on the MathSample :
[Node("String Value", "Input", "Basic", "Allows to output a simple string value.", false)]
public void InputStringValue(string inValue, out string outValue)
{
outValue = inValue;
}
When creating the node, I have this exception :
System.MissingMethodException: 'Constructor on type 'System.String' not found.'
This breaks into NodeVisual.cs line 193, because the tested out type is not 'String' but 'String&'.
I worked around it by replacing the test this way :
var p = output.ParameterType.Name.TrimEnd('&').ToLower() == "string"
I thought this would require your attention for a proper fix :)
Metadata
Metadata
Assignees
Labels
No labels