VN textbox event
This commit is contained in:
15
scripts/Cutscene/Event/VisualNovel/TextboxEvent.gd
Normal file
15
scripts/Cutscene/Event/VisualNovel/TextboxEvent.gd
Normal file
@@ -0,0 +1,15 @@
|
||||
class_name TextboxEvent extends "res://scripts/Cutscene/CutsceneEvent.gd"
|
||||
|
||||
var text:string;
|
||||
|
||||
func _init(
|
||||
text:string
|
||||
) -> void:
|
||||
super._init();
|
||||
self.text = text;
|
||||
|
||||
func start() -> void:
|
||||
print("He can say ", text);
|
||||
|
||||
func isDone() -> bool:
|
||||
return false
|
Reference in New Issue
Block a user