- Visject Drag and Drop now tries to get a parameter setter node while holding the alt key

- Visual Script surface now returns a setter node
This commit is contained in:
Nils Hausfeld
2024-06-01 14:23:36 +02:00
parent e0791eacad
commit 0fc507e238
2 changed files with 27 additions and 1 deletions

View File

@@ -187,6 +187,14 @@ namespace FlaxEditor.Surface
return Archetypes.Parameters.Nodes[2];
}
/// <inheritdoc />
protected override bool TryGetParameterSetterNodeArchetype(out ushort groupId, out NodeArchetype archetype)
{
groupId = 6;
archetype = Archetypes.Parameters.Nodes[3];
return true;
}
/// <inheritdoc />
protected override void OnShowPrimaryMenu(VisjectCM activeCM, Float2 location, Box startBox)
{