mirror of
https://github.com/litruv/lit.ruv.wtf.git
synced 2026-07-24 02:36:02 +10:00
can now add nodes
This commit is contained in:
@@ -14,6 +14,21 @@ export class PrintNode extends NodeBase {
|
||||
/** @UCLASS(BlueprintType) */
|
||||
static NodeType = "print";
|
||||
|
||||
/**
|
||||
* @UFUNCTION(BlueprintPure)
|
||||
*/
|
||||
static BlueprintPure_GetDefaultPins() {
|
||||
return {
|
||||
inputs: [
|
||||
{ id: 'exec_in', name: '', direction: 'input', kind: 'exec' },
|
||||
{ id: 'value', name: 'Value', direction: 'input', kind: 'string', defaultValue: 'Hello!' }
|
||||
],
|
||||
outputs: [
|
||||
{ id: 'exec_out', name: '', direction: 'output', kind: 'exec' }
|
||||
]
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* @UFUNCTION(BlueprintCallable)
|
||||
* @param {import('./NodeExecutionContext.js').NodeExecutionContext} ctx
|
||||
|
||||
Reference in New Issue
Block a user