<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.wlabsocks.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Hide</id>
	<title>Hide - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.wlabsocks.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Hide"/>
	<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=Hide&amp;action=history"/>
	<updated>2026-04-05T16:24:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>http://www.wlabsocks.com/wiki/index.php?title=Hide&amp;diff=823&amp;oldid=prev</id>
		<title>Tayfunwiki: Created page with &quot;== &lt;code&gt;Hide&lt;/code&gt; Method in DialogueManager Class ==  === Overview === The &lt;code&gt;Hide&lt;/code&gt; method in the DialogueManager class is an integral function for controlling the visibility of dialogue windows in the game. It allows for the selective hiding of dialogue panels, which is crucial in managing dialogue flow and maintaining player immersion.  === Description ===  * Parameters: ** &lt;code&gt;justSchemeDialog&lt;/code&gt; (bool, optional): Determines the scope of the hiding o...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=Hide&amp;diff=823&amp;oldid=prev"/>
		<updated>2024-01-04T15:01:05Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== &amp;lt;code&amp;gt;Hide&amp;lt;/code&amp;gt; Method in DialogueManager Class ==  === Overview === The &amp;lt;code&amp;gt;Hide&amp;lt;/code&amp;gt; method in the DialogueManager class is an integral function for controlling the visibility of dialogue windows in the game. It allows for the selective hiding of dialogue panels, which is crucial in managing dialogue flow and maintaining player immersion.  === Description ===  * Parameters: ** &amp;lt;code&amp;gt;justSchemeDialog&amp;lt;/code&amp;gt; (bool, optional): Determines the scope of the hiding o...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== &amp;lt;code&amp;gt;Hide&amp;lt;/code&amp;gt; Method in DialogueManager Class ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
The &amp;lt;code&amp;gt;Hide&amp;lt;/code&amp;gt; method in the DialogueManager class is an integral function for controlling the visibility of dialogue windows in the game. It allows for the selective hiding of dialogue panels, which is crucial in managing dialogue flow and maintaining player immersion.&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
&lt;br /&gt;
* Parameters:&lt;br /&gt;
** &amp;lt;code&amp;gt;justSchemeDialog&amp;lt;/code&amp;gt; (bool, optional): Determines the scope of the hiding operation. If set to &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt;, only dialogue windows associated with schemes are hidden. If &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt;, all dialogue windows are hidden.&lt;br /&gt;
* Functionality:&lt;br /&gt;
** The method iterates through all instances of &amp;lt;code&amp;gt;DialoguePanel&amp;lt;/code&amp;gt;.&lt;br /&gt;
** Based on the value of &amp;lt;code&amp;gt;justSchemeDialog&amp;lt;/code&amp;gt;, it selectively hides either all dialogue panels or only those marked as scheme dialogues.&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
This method is utilized to control the display state of dialogue windows in various situations, such as during gameplay transitions, in response to player actions, or when certain game events require a clearer screen or focused attention on other elements.&lt;br /&gt;
&lt;br /&gt;
=== Example of Usage ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt;&lt;br /&gt;
public class DialogueVisibilityController : MonoBehaviour {&lt;br /&gt;
    public void HideSchemeDialogues() {&lt;br /&gt;
        DialogueManager.Hide(justSchemeDialog: true);&lt;br /&gt;
        Debug.Log(&amp;quot;Scheme dialogues have been hidden.&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    public void HideAllDialogues() {&lt;br /&gt;
        DialogueManager.Hide(justSchemeDialog: false);&lt;br /&gt;
        Debug.Log(&amp;quot;All dialogues have been hidden.&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;In this Unity script, &amp;lt;code&amp;gt;DialogueVisibilityController&amp;lt;/code&amp;gt; provides two methods for hiding dialogues. &amp;lt;code&amp;gt;HideSchemeDialogues&amp;lt;/code&amp;gt; hides only the scheme-related dialogue windows, while &amp;lt;code&amp;gt;HideAllDialogues&amp;lt;/code&amp;gt; hides all dialogue windows.&lt;br /&gt;
&lt;br /&gt;
=== Remarks ===&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;code&amp;gt;Hide&amp;lt;/code&amp;gt; method in the DialogueManager class is critical for ensuring a clean and user-friendly interface, particularly in scenarios where dialogue panels might obstruct gameplay or distract from key moments.&lt;br /&gt;
* Its ability to selectively hide dialogues based on their type (scheme-related or not) allows for precise control over the game's dialogue presentation.&lt;br /&gt;
* Effective use of this method is essential in games with intricate dialogue systems, ensuring that dialogues do not interfere with gameplay dynamics or the overall player experience.&lt;/div&gt;</summary>
		<author><name>Tayfunwiki</name></author>
	</entry>
</feed>