Fixed UI system
This commit is contained in:
11
scripts/Event/EventTextbox.gd
Normal file
11
scripts/Event/EventTextbox.gd
Normal file
@@ -0,0 +1,11 @@
|
||||
class_name EventTextbox extends "res://scripts/Event/Event.gd"
|
||||
|
||||
# @export var text:Array[String] = [ "Hello Text" ];
|
||||
@export_multiline var text:String = "Hello Text"
|
||||
|
||||
func start() -> void:
|
||||
super.start()
|
||||
VN.getTextbox().setText(self.text);
|
||||
|
||||
func isDone() -> bool:
|
||||
return super.isDone() && VN.getTextbox().isClosed;
|
Reference in New Issue
Block a user