Bugfixes
This commit is contained in:
@@ -83,7 +83,9 @@
|
||||
|
||||
<h1 id="Player_UseItem" data-uid="Player.UseItem" class="text-break">Class UseItem
|
||||
</h1>
|
||||
<div class="markdown level0 summary"></div>
|
||||
<div class="markdown level0 summary"><p>This class allows a player to pick up, hold, and drop items during the game.
|
||||
It is primarily used for managing interactions with the "hat" in "keep-away" mode.</p>
|
||||
</div>
|
||||
<div class="markdown level0 conceptual"></div>
|
||||
<div class="inheritance">
|
||||
<h5>Inheritance</h5>
|
||||
@@ -101,7 +103,8 @@
|
||||
|
||||
|
||||
<h4 id="Player_UseItem_head" data-uid="Player.UseItem.head">head</h4>
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 summary"><p>The position where the item will be held (e.g., above the player's head).</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="declaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
@@ -125,7 +128,8 @@
|
||||
|
||||
|
||||
<h4 id="Player_UseItem_holdTime" data-uid="Player.UseItem.holdTime">holdTime</h4>
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 summary"><p>The total time the player has held the item.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="declaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
@@ -152,7 +156,8 @@
|
||||
|
||||
<a id="Player_UseItem_DropItem_" data-uid="Player.UseItem.DropItem*"></a>
|
||||
<h4 id="Player_UseItem_DropItem" data-uid="Player.UseItem.DropItem">DropItem()</h4>
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 summary"><p>Allows the player to drop the item they are holding.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="declaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
@@ -162,7 +167,8 @@
|
||||
|
||||
<a id="Player_UseItem_IsHoldingItem_" data-uid="Player.UseItem.IsHoldingItem*"></a>
|
||||
<h4 id="Player_UseItem_IsHoldingItem" data-uid="Player.UseItem.IsHoldingItem">IsHoldingItem()</h4>
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 summary"><p>Checks if the player is currently holding an item.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="declaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
@@ -179,7 +185,8 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="xref">bool</span></td>
|
||||
<td></td>
|
||||
<td><p>True if the player is holding an item, false otherwise.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -187,7 +194,8 @@
|
||||
|
||||
<a id="Player_UseItem_PickUpItem_" data-uid="Player.UseItem.PickUpItem*"></a>
|
||||
<h4 id="Player_UseItem_PickUpItem_GameObject_" data-uid="Player.UseItem.PickUpItem(GameObject)">PickUpItem(GameObject)</h4>
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 summary"><p>Allows the player to pick up an item and start the hold timer.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="declaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
@@ -206,7 +214,8 @@
|
||||
<tr>
|
||||
<td><span class="xref">GameObject</span></td>
|
||||
<td><span class="parametername">item</span></td>
|
||||
<td></td>
|
||||
<td><p>The item to pick up.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user