瀏覽代碼

Merge pull request #23120 from akim8/patch-1

fix class reference markup for KinematicBody2D
Rémi Verschelde 7 年之前
父節點
當前提交
00125ef8df
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/classes/KinematicBody2D.xml

+ 1 - 1
doc/classes/KinematicBody2D.xml

@@ -116,7 +116,7 @@
 			</argument>
 			</argument>
 			<description>
 			<description>
 				Moves the body while keeping it attached to slopes. Similar to [method move_and_slide].
 				Moves the body while keeping it attached to slopes. Similar to [method move_and_slide].
-				As long as the [code]snap[/code] vector is in contact with the ground, the body will remain attached to the surface. This means you must disable snap in order to jump, for example. You can do this by setting[code]snap[/code] to[code](0, 0)[/code] or by using [method move_and_slide] instead.
+				As long as the [code]snap[/code] vector is in contact with the ground, the body will remain attached to the surface. This means you must disable snap in order to jump, for example. You can do this by setting [code]snap[/code] to [code](0, 0)[/code] or by using [method move_and_slide] instead.
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="test_move">
 		<method name="test_move">