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.
36 lines
677 B
36 lines
677 B
6 months ago
|
@tool
|
||
|
extends Control
|
||
|
class_name DialogicSettingsPage
|
||
|
|
||
|
@export_multiline var short_info := ""
|
||
|
|
||
|
## Called to get the title of the page
|
||
|
func _get_title() -> String:
|
||
|
return name
|
||
|
|
||
|
|
||
|
## Called to get the ordering of the page
|
||
|
func _get_priority() -> int:
|
||
|
return 0
|
||
|
|
||
|
|
||
|
## Called to know whether to put this in the features section
|
||
|
func _is_feature_tab() -> bool:
|
||
|
return false
|
||
|
|
||
|
|
||
|
## Called when the settings editor is opened
|
||
|
func _refresh() -> void:
|
||
|
pass
|
||
|
|
||
|
|
||
|
## Called before the settings editor closes (another editor is opened)
|
||
|
## Can be used to safe stuff
|
||
|
func _about_to_close() -> void:
|
||
|
pass
|
||
|
|
||
|
|
||
|
## Return a section with information.
|
||
|
func _get_info_section() -> Control:
|
||
|
return null
|