mirror of
https://github.com/godotengine/godot
synced 2024-09-16 00:07:17 +00:00
11 lines
324 B
GDScript
11 lines
324 B
GDScript
# meta-description: Basic import script template
|
|
|
|
@tool
|
|
extends _BASE_
|
|
|
|
|
|
# Called by the editor when a scene has this script set as the import script in the import tab.
|
|
func _post_import(scene: Node) -> Object:
|
|
# Modify the contents of the scene upon import.
|
|
return scene # Return the modified root node when you're done.
|