Skip to content
Snippets Groups Projects
Commit eab7b69a authored by Florent Berthaut's avatar Florent Berthaut
Browse files

Update readme

parent 16cbeda1
Branches
No related tags found
No related merge requests found
...@@ -80,15 +80,20 @@ Attach a script to it and start it with : ...@@ -80,15 +80,20 @@ Attach a script to it and start it with :
``` python ``` python
extends IvmiScene extends IvmiScene
func _ready() :
super._ready()
func _process(delta) :
super._process(delta)
``` ```
Then your scene tree can look like : Then your scene tree can look like :
* Main (with attached script extending IvmiScene) * Main (with attached script extending IvmiScene)
* ARVROrigin * XROrigin
* ARVRCamera * XRCamera
* ARVRController * XRController
* MeshInstance * MeshInstance
You can also directly attach the script extending IvmiScene to the ARVROrigin You can also directly attach the script extending IvmiScene to the ARVROrigin
...@@ -117,9 +122,9 @@ func _ready(): ...@@ -117,9 +122,9 @@ func _ready():
_add_property("selected", [0]) _add_property("selected", [0])
func _set_property(prop, vals) : func set_property(prop, vals) :
#call default properties handling #call default properties handling
._set_property(prop, vals) super.set_property(prop, vals)
#handle custom properties #handle custom properties
if prop == "selected": if prop == "selected":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment