diff --git a/README.md b/README.md index e4a46eecb74732dcb7931af4e01f2e7625b571e1..d4ec28417342a13b21fe0129d3034247a08ccbb2 100644 --- a/README.md +++ b/README.md @@ -80,15 +80,20 @@ Attach a script to it and start it with : ``` python extends IvmiScene +func _ready() : + super._ready() + +func _process(delta) : + super._process(delta) ``` Then your scene tree can look like : * Main (with attached script extending IvmiScene) - * ARVROrigin - * ARVRCamera - * ARVRController + * XROrigin + * XRCamera + * XRController * MeshInstance You can also directly attach the script extending IvmiScene to the ARVROrigin @@ -117,9 +122,9 @@ func _ready(): _add_property("selected", [0]) -func _set_property(prop, vals) : +func set_property(prop, vals) : #call default properties handling - ._set_property(prop, vals) + super.set_property(prop, vals) #handle custom properties if prop == "selected":