mirror of
https://codeberg.org/StreamGraph/StreamGraph.git
synced 2024-11-13 19:49:55 +01:00
Added a Script Template for making DeckNodes
This commit is contained in:
parent
fa5e9997ef
commit
882d817310
1 changed files with 14 additions and 0 deletions
14
script_templates/DeckNode/node_template.gd
Normal file
14
script_templates/DeckNode/node_template.gd
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
extends DeckNode
|
||||||
|
|
||||||
|
|
||||||
|
func _init() -> void:
|
||||||
|
name = ""
|
||||||
|
node_type = name.to_snake_case()
|
||||||
|
description = ""
|
||||||
|
|
||||||
|
props_to_serialize = []
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
func _receive(to_input_port: int, data: DeckType, extra_data: Array = []) -> void:
|
||||||
|
pass
|
Loading…
Reference in a new issue