瀏覽代碼

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

This closes #4739.
Hugo Locurcio 4 年之前
父節點
當前提交
8ef314ad12
共有 1 個文件被更改,包括 2 次插入0 次删除
  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