terrain3d test

This commit is contained in:
Luca 2024-10-15 16:52:49 +02:00
parent d437b4809f
commit a1a006caae
400 changed files with 23120 additions and 3 deletions

View file

@ -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)