- Added optional description panel to visject CM

- Enbaled description panel for visual scripting
- Archetype description now gets drawn in description panel
This commit is contained in:
Nils Hausfeld
2024-06-09 13:45:53 +02:00
parent 50c29f6a9b
commit fa67d0581e
5 changed files with 58 additions and 2 deletions

View File

@@ -237,6 +237,7 @@ namespace FlaxEditor.Surface
return new VisjectCM(new VisjectCM.InitInfo
{
CanSetParameters = CanSetParameters,
UseDescriptionPanel = UseContextMenuDescriptionPanel,
Groups = NodeArchetypes,
CanSpawnNode = CanUseNodeType,
ParametersGetter = () => Parameters,