progress.
This commit is contained in:
20
addons/cutscene_editor/editor/nodes/EntryNode.gd
Normal file
20
addons/cutscene_editor/editor/nodes/EntryNode.gd
Normal file
@@ -0,0 +1,20 @@
|
||||
@tool
|
||||
class_name EntryNode
|
||||
extends "res://addons/cutscene_editor/editor/nodes/BaseGraphNode.gd"
|
||||
|
||||
# Entry point for the cutscene
|
||||
|
||||
func _init() -> void:
|
||||
node_type = "entry"
|
||||
node_id = "entry_" + str(randi())
|
||||
title = "Start"
|
||||
modulate = Color(0.5, 1.0, 0.5) # Light green
|
||||
|
||||
# Entry node has no input connections
|
||||
# Add one output connection point
|
||||
var output_slot = 0
|
||||
set_slot(output_slot, false, 0, Color(0, 0, 0, 0), true, 0, Color(0, 0, 0))
|
||||
|
||||
func _ready() -> void:
|
||||
super._ready()
|
||||
# Entry node has no parameter fields
|
||||
Reference in New Issue
Block a user