Skip to content

Commit

Permalink
docs(feature): Document Prefab Overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
gurpreetsinghmatharoo committed Feb 4, 2025
1 parent 1f72b50 commit 7810f4a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Manual/contents/IDE_Tools/Prefab_Library.htm
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,14 @@ <h2>Using Prefab Assets</h2>
<li>Use <a href="../The_Asset_Editors/Sounds.htm">Sound</a> assets in <a data-xref="{title}" href="../The_Asset_Editors/Sequences.htm">The Sequence Editor</a></li>
<li>Use <a href="../The_Asset_Editors/Tile_Sets.htm">Tile Set</a> assets in <a data-xref="{title}" href="../The_Asset_Editors/Rooms.htm">The Room Editor</a></li>
</ul>
<p>Apart from the editors mentioned above, any assets from Prefab Collections can be referenced in your code and they will be imported into your builds and be usable at runtime.</p>
<p>Assets from Prefab Collections will not be visible in the Asset Browser or in the Asset Explorers from any editors. They either have to be dragged from the Prefab Library or be referenced in code.</p>
<p class="note"><span data-conref="../assets/snippets/Tag_note.hts"> </span> If you use assets from a Collection in your project and then delete the package for that Collection, you will get a &quot;<strong>Resource load failure</strong>&quot; error window on opening the project in the IDE and potential errors at runtime.</p>
<h2>Prefab Overrides</h2>
<p>Selecting a Prefab Asset will display it in <a data-xref="{title}" href="The_Inspector.htm">The Inspector</a>, where you can override the following properties (which applies only to your current project):</p>
<ul class="colour">
<li>The Texture Group setting on Sprite, Tile Set and Font assets</li>
<li>The Audio Group setting and attributes on Sound assets</li>
</ul>
<h2>Prefab Library Features</h2>
<p>The Prefab Library window is divided into the following sections:</p>
<p><img class="center" src="../assets/Images/IDE Tools/Prefabs/prefab_sections.png" style="cursor: nesw-resize;" />The left section displays the Folder List that contains a tree view of your Prefab Collections. The right section displays the contents of the currently open folder (or your Prefab Collections if no folder is selected). The divider between these two sections can be dragged to resize the sections.</p>
Expand Down

0 comments on commit 7810f4a

Please sign in to comment.