Browse Source

Fix code samples in VR starter tutorial part 1 (#4740)

This closes #4739.
Hugo Locurcio 4 years ago
parent
commit
2edaff745f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tutorials/vr/vr_starter_tutorial/vr_starter_tutorial_part_one.rst

+ 2 - 0
tutorials/vr/vr_starter_tutorial/vr_starter_tutorial_part_one.rst

@@ -246,6 +246,7 @@ the same script, so it doesn't matter which you use first. With ``VR_Controller.
 
 .. tabs::
  .. code-tab:: gdscript GDScript
+
     extends ARVRController
 
     var controller_velocity = Vector3(0,0,0)
@@ -970,6 +971,7 @@ Once you have ``VR_Interactable_Rigidbody.gd`` open, add the following code:
 
 .. tabs::
  .. code-tab:: gdscript GDScript
+
     class_name VR_Interactable_Rigidbody
     extends RigidBody