mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 09:16:01 +08:00
Fix stack overflow when using obsolete method Node.AddInstanceInput (#231)
This commit is contained in:
parent
7e93ffe4b7
commit
cf8c70203b
@ -65,7 +65,7 @@ namespace XNode {
|
||||
|
||||
[Obsolete("Use AddDynamicInput instead")]
|
||||
public NodePort AddInstanceInput(Type type, Node.ConnectionType connectionType = Node.ConnectionType.Multiple, Node.TypeConstraint typeConstraint = TypeConstraint.None, string fieldName = null) {
|
||||
return AddInstanceInput(type, connectionType, typeConstraint, fieldName);
|
||||
return AddDynamicInput(type, connectionType, typeConstraint, fieldName);
|
||||
}
|
||||
|
||||
[Obsolete("Use AddDynamicOutput instead")]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user