<?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=DialogueManager</id>
	<title>DialogueManager - 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=DialogueManager"/>
	<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=DialogueManager&amp;action=history"/>
	<updated>2026-05-12T22:57:53Z</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=DialogueManager&amp;diff=839&amp;oldid=prev</id>
		<title>Tayfunwiki: Created page with &quot;== &lt;code&gt;DialogueManager&lt;/code&gt; Property in IM Class ==  === Overview === The &lt;code&gt;DialogueManager&lt;/code&gt; property in the IM (Intrigue Manager) class provides direct access to the Dialogue Manager, a crucial component for managing dialogues within the game.  === Description ===  * Property Type: &lt;code&gt;DialogueManager&lt;/code&gt; * Accessibility: Public and Static * Functionality: ** This property returns a reference to the &lt;code&gt;DialogueManager&lt;/code&gt; instance. ** The Dialog...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=DialogueManager&amp;diff=839&amp;oldid=prev"/>
		<updated>2024-01-04T17:28:36Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== &amp;lt;code&amp;gt;DialogueManager&amp;lt;/code&amp;gt; Property in IM Class ==  === Overview === The &amp;lt;code&amp;gt;DialogueManager&amp;lt;/code&amp;gt; property in the IM (Intrigue Manager) class provides direct access to the Dialogue Manager, a crucial component for managing dialogues within the game.  === Description ===  * Property Type: &amp;lt;code&amp;gt;DialogueManager&amp;lt;/code&amp;gt; * Accessibility: Public and Static * Functionality: ** This property returns a reference to the &amp;lt;code&amp;gt;DialogueManager&amp;lt;/code&amp;gt; instance. ** The Dialog...&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;DialogueManager&amp;lt;/code&amp;gt; Property in IM Class ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
The &amp;lt;code&amp;gt;DialogueManager&amp;lt;/code&amp;gt; property in the IM (Intrigue Manager) class provides direct access to the Dialogue Manager, a crucial component for managing dialogues within the game.&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
&lt;br /&gt;
* Property Type: &amp;lt;code&amp;gt;DialogueManager&amp;lt;/code&amp;gt;&lt;br /&gt;
* Accessibility: Public and Static&lt;br /&gt;
* Functionality:&lt;br /&gt;
** This property returns a reference to the &amp;lt;code&amp;gt;DialogueManager&amp;lt;/code&amp;gt; instance.&lt;br /&gt;
** The Dialogue Manager handles the creation, display, and management of dialogue windows, making it an essential tool for interactive storytelling and character communication in the game.&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
The &amp;lt;code&amp;gt;DialogueManager&amp;lt;/code&amp;gt; is used to initiate and control dialogues between characters, manage dialogue flow, and handle user interactions with dialogue interfaces. It is a key element in games that feature complex narrative structures or require dynamic dialogue systems.&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 DialogueTrigger : MonoBehaviour {&lt;br /&gt;
    void Start() {&lt;br /&gt;
        // Access the Dialogue Manager&lt;br /&gt;
        var manager = IM.DialogueManager;&lt;br /&gt;
&lt;br /&gt;
        if (manager != null) {&lt;br /&gt;
            // Logic to create and display dialogues&lt;br /&gt;
            var dialogue = manager.OpenDialogue(&amp;quot;Greetings&amp;quot;, &amp;quot;Welcome to Eldoria!&amp;quot;);&lt;br /&gt;
            dialogue.AddChoice(&amp;quot;Continue&amp;quot;, () =&amp;gt; ContinueStory());&lt;br /&gt;
            // More dialogue-related logic&lt;br /&gt;
        } else {&lt;br /&gt;
            Debug.LogError(&amp;quot;Dialogue Manager is not accessible.&amp;quot;);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    private void ContinueStory() {&lt;br /&gt;
        // Logic to continue the story after dialogue choice&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Description: ====&lt;br /&gt;
&lt;br /&gt;
* This example demonstrates accessing the &amp;lt;code&amp;gt;DialogueManager&amp;lt;/code&amp;gt; via the &amp;lt;code&amp;gt;IM.DialogueManager&amp;lt;/code&amp;gt; property. The script then uses it to open a new dialogue and add a choice to it.&lt;br /&gt;
* The &amp;lt;code&amp;gt;ContinueStory&amp;lt;/code&amp;gt; method represents an action taken when the player interacts with the dialogue.&lt;br /&gt;
&lt;br /&gt;
=== Remarks ===&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;code&amp;gt;DialogueManager&amp;lt;/code&amp;gt; property is vital for games emphasizing player interaction through dialogues and narrative choices.&lt;br /&gt;
* Efficient use of the Dialogue Manager contributes to creating engaging, interactive storytelling experiences.&lt;br /&gt;
* It is particularly important in role-playing games, adventure games, and other genres where dialogue plays a significant role in gameplay and player engagement.&lt;/div&gt;</summary>
		<author><name>Tayfunwiki</name></author>
	</entry>
</feed>