Bugfixes
This commit is contained in:
@@ -83,7 +83,9 @@
|
||||
|
||||
<h1 id="Player_Damageable" data-uid="Player.Damageable" class="text-break">Class Damageable
|
||||
</h1>
|
||||
<div class="markdown level0 summary"></div>
|
||||
<div class="markdown level0 summary"><p>This class handles the player's ability to take damage, die, and respawn.
|
||||
It also manages interactions like blocking, parrying, and dropping items when hit.</p>
|
||||
</div>
|
||||
<div class="markdown level0 conceptual"></div>
|
||||
<div class="inheritance">
|
||||
<h5>Inheritance</h5>
|
||||
@@ -316,6 +318,31 @@
|
||||
</h3>
|
||||
|
||||
|
||||
<h4 id="Player_Damageable_OnPlayerDeath" data-uid="Player.Damageable.OnPlayerDeath">OnPlayerDeath</h4>
|
||||
<div class="markdown level1 summary"><p>Event triggered when a player dies.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="declaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public event Action<GameObject> OnPlayerDeath</code></pre>
|
||||
</div>
|
||||
<h5 class="eventType">Event Type</h5>
|
||||
<table class="table table-bordered table-striped table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Type</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="xref">System.Action<T></span><<span class="xref">GameObject</span>></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
<h4 id="Player_Damageable_OnPlayerPunched" data-uid="Player.Damageable.OnPlayerPunched">OnPlayerPunched</h4>
|
||||
<div class="markdown level1 summary"><p>Event triggered when the player is punched.</p>
|
||||
</div>
|
||||
@@ -339,6 +366,31 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
<h4 id="Player_Damageable_OnPlayerRespawn" data-uid="Player.Damageable.OnPlayerRespawn">OnPlayerRespawn</h4>
|
||||
<div class="markdown level1 summary"><p>Event triggered when a player respawns.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="declaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public event Action<GameObject> OnPlayerRespawn</code></pre>
|
||||
</div>
|
||||
<h5 class="eventType">Event Type</h5>
|
||||
<table class="table table-bordered table-striped table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Type</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="xref">System.Action<T></span><<span class="xref">GameObject</span>></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</article>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user