You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

21 lines
389 B

  1. extends Control
  2. class_name SpeechPanel
  3. export var text_path : NodePath
  4. var text : SpeechText
  5. export var choices_path : NodePath
  6. var choices : ChoicesBox
  7. func _enter_tree():
  8. Controller.speech_panel = self
  9. text = get_node(text_path)
  10. choices = get_node(choices_path)
  11. func _ready():
  12. Controller.speech_panel = self
  13. text = get_node(text_path)
  14. choices = get_node(choices_path)
  15. hide()