Niagara convert nodes

This commit is contained in:
barsdeveloper
2024-09-16 00:04:08 +02:00
parent 2b028e2800
commit 90d0cd7016
5 changed files with 31 additions and 5 deletions

View File

@@ -184,6 +184,14 @@ export default function nodeTitle(entity) {
}
}
}
case Configuration.paths.niagaraNodeConvert:
/** @type {String} */
const targetType = (entity["AutowireMakeType"]?.["ClassStructOrEnum"] ?? "")
.toString()
.match(/(?:Niagara)?(\w+)['"]*$/)
?.[1]
?? ""
return `Make ${targetType}`
case Configuration.paths.pcgEditorGraphNodeInput:
return "Input"
case Configuration.paths.pcgEditorGraphNodeOutput: