Method GenerateUniqueNodeName
GenerateUniqueNodeName(SerializedNode, List<SerializedNode>, out bool, string)
Generate a unique name for node, if name is not unique in the graph
Declaration
public static string GenerateUniqueNodeName(SerializedNode p, List<SerializedNode> lstNode, out bool modified, string jsonNameKey = "_displayName")
Parameters
| Type | Name | Description | 
|---|---|---|
| SerializedNode | p | The node to generate a unique name for  | 
    
| List<SerializedNode> | lstNode | The list of nodes in the graph  | 
    
| bool | modified | Is set to true when the name has been modified  | 
    
| string | jsonNameKey | The name of the json field that contains the name, if upgrading, it's possible this field is not the same between versions  | 
    
Returns
| Type | Description | 
|---|---|
| string | Returns a unique name for node p  |