terrain3d test
This commit is contained in:
parent
d437b4809f
commit
a1a006caae
400 changed files with 23120 additions and 3 deletions
|
|
@ -52,9 +52,15 @@ func list_licenses() -> void:
|
|||
add_license(file)
|
||||
|
||||
func add_license(license_path: String) -> void:
|
||||
var asset_info: AssetInfo = load(LICENSE_FOLDER + license_path)
|
||||
|
||||
if license_path.ends_with(".remap"):
|
||||
license_path = license_path.replace(".remap", "")
|
||||
|
||||
print(LICENSE_FOLDER + license_path)
|
||||
var asset_info: AssetInfo = ResourceLoader.load(LICENSE_FOLDER + license_path)
|
||||
var new_license_entry: Node = license_entry.instantiate()
|
||||
license_container.add_child(new_license_entry)
|
||||
print(asset_info)
|
||||
new_license_entry.populate(asset_info)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -107,6 +107,7 @@ text = "Exit"
|
|||
|
||||
[node name="LicensesScreen" type="PanelContainer" parent="."]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue