diff options
author | flatline-84 <peterkydas@gmail.com> | 2022-12-07 21:37:28 +1100 |
---|---|---|
committer | flatline <peterkydas@gmail.com> | 2022-12-12 16:06:35 +1100 |
commit | bd78d464e64a878f200ba3f74205551e245cfc1b (patch) | |
tree | 8152dacc2fedb9693415c1ef162d98c8d77ca40c /doc/classes | |
parent | c241f1c52386b21cf2df936ee927740a06970db6 (diff) |
updated example documentation for EditorScenePostImport
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/EditorScenePostImport.xml | 6 |
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) |