summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorflatline-84 <peterkydas@gmail.com>2022-12-07 21:37:28 +1100
committerflatline <peterkydas@gmail.com>2022-12-12 16:06:35 +1100
commitbd78d464e64a878f200ba3f74205551e245cfc1b (patch)
tree8152dacc2fedb9693415c1ef162d98c8d77ca40c /doc/classes
parentc241f1c52386b21cf2df936ee927740a06970db6 (diff)
updated example documentation for EditorScenePostImport
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/EditorScenePostImport.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/classes/EditorScenePostImport.xml b/doc/classes/EditorScenePostImport.xml
index 2bf2accf17..d2ad8d1bed 100644
--- a/doc/classes/EditorScenePostImport.xml
+++ b/doc/classes/EditorScenePostImport.xml
@@ -28,12 +28,12 @@
// This sample changes all node names.
// Called right after the scene is imported and gets the root node.
[Tool]
- public class NodeRenamer : EditorScenePostImport
+ public partial class NodeRenamer : EditorScenePostImport
{
- public override Object PostImport(Object scene)
+ public override Object _PostImport(Node scene)
{
// Change all node names to "modified_[oldnodename]"
- Iterate(scene as Node);
+ Iterate(scene);
return scene; // Remember to return the imported scene
}
public void Iterate(Node node)