From eab7b69ae05dc47871ddec09ae8de71063aec27f Mon Sep 17 00:00:00 2001 From: Florent Berthaut <florent.berthaut@univ-lille.fr> Date: Sat, 9 Sep 2023 22:44:06 +0200 Subject: [PATCH] Update readme --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e4a46ee..d4ec284 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": -- GitLab