瀏覽代碼

Merge pull request #66140 from timothyqiu/in-the-the

[3.x] Fix typo in `CollisionObject` documentation
Matthew 3 年之前
父節點
當前提交
485b2ab45e
共有 2 個文件被更改,包括 8 次插入8 次删除
  1. 4 4
      doc/classes/CollisionObject.xml
  2. 4 4
      doc/classes/CollisionObject2D.xml

+ 4 - 4
doc/classes/CollisionObject.xml

@@ -72,8 +72,8 @@
 			<argument index="0" name="bit" type="int" />
 			<argument index="1" name="value" type="bool" />
 			<description>
-				If [code]value[/code] is [code]true[/code], sets the specified [code]bit[/code] in the the [member collision_layer].
-				If [code]value[/code] is [code]false[/code], clears the specified [code]bit[/code] in the the [member collision_layer].
+				If [code]value[/code] is [code]true[/code], sets the specified [code]bit[/code] in the [member collision_layer].
+				If [code]value[/code] is [code]false[/code], clears the specified [code]bit[/code] in the [member collision_layer].
 			</description>
 		</method>
 		<method name="set_collision_mask_bit">
@@ -81,8 +81,8 @@
 			<argument index="0" name="bit" type="int" />
 			<argument index="1" name="value" type="bool" />
 			<description>
-				If [code]value[/code] is [code]true[/code], sets the specified [code]bit[/code] in the the [member collision_mask].
-				If [code]value[/code] is [code]false[/code], clears the specified [code]bit[/code] in the the [member collision_mask].
+				If [code]value[/code] is [code]true[/code], sets the specified [code]bit[/code] in the [member collision_mask].
+				If [code]value[/code] is [code]false[/code], clears the specified [code]bit[/code] in the [member collision_mask].
 			</description>
 		</method>
 		<method name="shape_find_owner" qualifiers="const">

+ 4 - 4
doc/classes/CollisionObject2D.xml

@@ -85,8 +85,8 @@
 			<argument index="0" name="bit" type="int" />
 			<argument index="1" name="value" type="bool" />
 			<description>
-				If [code]value[/code] is [code]true[/code], sets the specified [code]bit[/code] in the the [member collision_layer].
-				If [code]value[/code] is [code]false[/code], clears the specified [code]bit[/code] in the the [member collision_layer].
+				If [code]value[/code] is [code]true[/code], sets the specified [code]bit[/code] in the [member collision_layer].
+				If [code]value[/code] is [code]false[/code], clears the specified [code]bit[/code] in the [member collision_layer].
 			</description>
 		</method>
 		<method name="set_collision_mask_bit">
@@ -94,8 +94,8 @@
 			<argument index="0" name="bit" type="int" />
 			<argument index="1" name="value" type="bool" />
 			<description>
-				If [code]value[/code] is [code]true[/code], sets the specified [code]bit[/code] in the the [member collision_mask].
-				If [code]value[/code] is [code]false[/code], clears the specified [code]bit[/code] in the the [member collision_mask].
+				If [code]value[/code] is [code]true[/code], sets the specified [code]bit[/code] in the [member collision_mask].
+				If [code]value[/code] is [code]false[/code], clears the specified [code]bit[/code] in the [member collision_mask].
 			</description>
 		</method>
 		<method name="shape_find_owner" qualifiers="const">