mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 17:28:58 +00:00
Merge pull request #213 from pkowal1982/post_import_script
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