您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

21 行
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()