mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-18 01:43:47 +00:00
Updated func godot to latest dev
This commit is contained in:
parent
aef2437e21
commit
d41eaf5164
26 changed files with 682 additions and 6069 deletions
|
|
@ -47,15 +47,17 @@ func _enter_tree() -> void:
|
|||
|
||||
add_custom_type("FuncGodotMap", "Node3D", preload("res://addons/func_godot/src/map/func_godot_map.gd"), null)
|
||||
|
||||
ProjectSettings.set("func_godot/default_map_settings", "res://addons/func_godot/func_godot_default_map_settings.tres")
|
||||
var property_info = {
|
||||
"name": "func_godot/default_map_settings",
|
||||
"type": TYPE_STRING,
|
||||
"hint": PROPERTY_HINT_FILE,
|
||||
"hint_string": "*.tres"
|
||||
}
|
||||
ProjectSettings.add_property_info(property_info)
|
||||
ProjectSettings.set_initial_value("func_godot/default_map_settings", "res://addons/func_godot/func_godot_default_map_settings.tres")
|
||||
if not ProjectSettings.has_setting("func_godot/default_map_settings"):
|
||||
ProjectSettings.set_setting("func_godot/default_map_settings", "res://addons/func_godot/func_godot_default_map_settings.tres")
|
||||
var property_info = {
|
||||
"name": "func_godot/default_map_settings",
|
||||
"type": TYPE_STRING,
|
||||
"hint": PROPERTY_HINT_FILE,
|
||||
"hint_string": "*.tres"
|
||||
}
|
||||
ProjectSettings.add_property_info(property_info)
|
||||
ProjectSettings.set_as_basic("func_godot/default_map_settings", true)
|
||||
ProjectSettings.set_initial_value("func_godot/default_map_settings", "res://addons/func_godot/func_godot_default_map_settings.tres")
|
||||
|
||||
func _exit_tree() -> void:
|
||||
remove_custom_type("FuncGodotMap")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue