API
This commit is contained in:
@@ -83,7 +83,8 @@
|
||||
|
||||
<h1 id="Game_DayNightCycle" data-uid="Game.DayNightCycle" class="text-break">Class DayNightCycle
|
||||
</h1>
|
||||
<div class="markdown level0 summary"></div>
|
||||
<div class="markdown level0 summary"><p>Manages the day-night cycle by transitioning between different sky and cloud sprites.</p>
|
||||
</div>
|
||||
<div class="markdown level0 conceptual"></div>
|
||||
<div class="inheritance">
|
||||
<h5>Inheritance</h5>
|
||||
@@ -101,7 +102,8 @@
|
||||
|
||||
|
||||
<h4 id="Game_DayNightCycle_cycleDuration" data-uid="Game.DayNightCycle.cycleDuration">cycleDuration</h4>
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 summary"><p>Duration of each phase (day, evening, night) before transitioning to the next phase.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="declaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
@@ -125,7 +127,8 @@
|
||||
|
||||
|
||||
<h4 id="Game_DayNightCycle_dayBackClouds" data-uid="Game.DayNightCycle.dayBackClouds">dayBackClouds</h4>
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 summary"><p>Sprite representing the back clouds during the day.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="declaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
@@ -149,7 +152,8 @@
|
||||
|
||||
|
||||
<h4 id="Game_DayNightCycle_dayFrontClouds" data-uid="Game.DayNightCycle.dayFrontClouds">dayFrontClouds</h4>
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 summary"><p>Sprite representing the front clouds during the day.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="declaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
@@ -173,7 +177,8 @@
|
||||
|
||||
|
||||
<h4 id="Game_DayNightCycle_daySky" data-uid="Game.DayNightCycle.daySky">daySky</h4>
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 summary"><p>Sprite representing the sky during the day.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="declaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
@@ -197,7 +202,8 @@
|
||||
|
||||
|
||||
<h4 id="Game_DayNightCycle_eveningBackClouds" data-uid="Game.DayNightCycle.eveningBackClouds">eveningBackClouds</h4>
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 summary"><p>Sprite representing the back clouds during the evening.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="declaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
@@ -221,7 +227,8 @@
|
||||
|
||||
|
||||
<h4 id="Game_DayNightCycle_eveningFrontClouds" data-uid="Game.DayNightCycle.eveningFrontClouds">eveningFrontClouds</h4>
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 summary"><p>Sprite representing the front clouds during the evening.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="declaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
@@ -245,7 +252,8 @@
|
||||
|
||||
|
||||
<h4 id="Game_DayNightCycle_eveningSky" data-uid="Game.DayNightCycle.eveningSky">eveningSky</h4>
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 summary"><p>Sprite representing the sky during the evening.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="declaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
@@ -269,7 +277,8 @@
|
||||
|
||||
|
||||
<h4 id="Game_DayNightCycle_nightBackClouds" data-uid="Game.DayNightCycle.nightBackClouds">nightBackClouds</h4>
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 summary"><p>Sprite representing the back clouds during the night.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="declaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
@@ -293,7 +302,8 @@
|
||||
|
||||
|
||||
<h4 id="Game_DayNightCycle_nightFrontClouds" data-uid="Game.DayNightCycle.nightFrontClouds">nightFrontClouds</h4>
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 summary"><p>Sprite representing the front clouds during the night.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="declaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
@@ -317,7 +327,8 @@
|
||||
|
||||
|
||||
<h4 id="Game_DayNightCycle_nightSky" data-uid="Game.DayNightCycle.nightSky">nightSky</h4>
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 summary"><p>Sprite representing the sky during the night.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="declaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
@@ -341,7 +352,8 @@
|
||||
|
||||
|
||||
<h4 id="Game_DayNightCycle_transitionDuration" data-uid="Game.DayNightCycle.transitionDuration">transitionDuration</h4>
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 summary"><p>Duration of the transition between different phases of the day-night cycle.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="declaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
|
||||
@@ -88,7 +88,8 @@
|
||||
<h3 id="classes">Classes
|
||||
</h3>
|
||||
<h4><a class="xref" href="Game.DayNightCycle.html">DayNightCycle</a></h4>
|
||||
<section></section>
|
||||
<section><p>Manages the day-night cycle by transitioning between different sky and cloud sprites.</p>
|
||||
</section>
|
||||
<h4><a class="xref" href="Game.EventSystemizer.html">EventSystemizer</a></h4>
|
||||
<section><p>This class makes sure there is only one EventSystem in the game at any time.</p>
|
||||
</section>
|
||||
|
||||
@@ -343,31 +343,6 @@ It also manages interactions like blocking, parrying, and dropping items when hi
|
||||
</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>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
<h5 class="declaration">Declaration</h5>
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public event Action<GameObject> OnPlayerPunched</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_OnPlayerRespawn" data-uid="Player.Damageable.OnPlayerRespawn">OnPlayerRespawn</h4>
|
||||
<div class="markdown level1 summary"><p>Event triggered when a player respawns.</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user