mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Fix documentation on post import script
This commit is contained in:
@@ -381,7 +381,7 @@ Create a script that basically looks like this:
|
||||
|
||||
func post_import(scene):
|
||||
# do your stuff here
|
||||
pass # scene contains the imported scene starting from the root node
|
||||
return scene # remember to return the imported scene
|
||||
|
||||
The post-import function takes the imported scene as parameter (the
|
||||
parameter is actually the root node of the scene).
|
||||
|
||||
Reference in New Issue
Block a user