summaryrefslogtreecommitdiff
path: root/doc/classes/PackedScene.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/PackedScene.xml')
-rw-r--r--doc/classes/PackedScene.xml8
1 files changed, 3 insertions, 5 deletions
diff --git a/doc/classes/PackedScene.xml b/doc/classes/PackedScene.xml
index 7dea004b90..777e5221ed 100644
--- a/doc/classes/PackedScene.xml
+++ b/doc/classes/PackedScene.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<class name="PackedScene" inherits="Resource" category="Core" version="3.1">
+<class name="PackedScene" inherits="Resource" category="Core" version="3.2">
<brief_description>
An abstraction of a serialized scene.
</brief_description>
@@ -18,7 +18,7 @@
node.add_child(rigid)
# change owner of rigid, but not of collision
- rigid.set_owner(node)
+ rigid.owner = node
var scene = PackedScene.new()
# only node and rigid are now packed
@@ -29,8 +29,6 @@
</description>
<tutorials>
</tutorials>
- <demos>
- </demos>
<methods>
<method name="can_instance" qualifiers="const">
<return type="bool">
@@ -61,7 +59,7 @@
<argument index="0" name="path" type="Node">
</argument>
<description>
- Pack will ignore any sub-nodes not owned by given node. See [method Node.set_owner].
+ Pack will ignore any sub-nodes not owned by given node. See [member Node.owner].
</description>
</method>
</methods>