<?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=Pause</id>
	<title>Pause - 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=Pause"/>
	<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=Pause&amp;action=history"/>
	<updated>2026-05-12T23:27:16Z</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=Pause&amp;diff=1157&amp;oldid=prev</id>
		<title>Tayfunwiki at 22:59, 9 February 2024</title>
		<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=Pause&amp;diff=1157&amp;oldid=prev"/>
		<updated>2024-02-09T22:59:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:59, 9 February 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l22&quot;&gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         Scheme schemeToPause = IM.Player.GetScheme(schemeName);&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         Scheme schemeToPause = IM.Player.GetScheme(schemeName);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         if (schemeToPause != null) {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         if (schemeToPause != null) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             schemeToPause.Pause();&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             schemeToPause&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.Schemer&lt;/ins&gt;.Pause();&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             Debug.Log($&amp;quot;Paused scheme: {schemeName}&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             Debug.Log($&amp;quot;Paused scheme: {schemeName}&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         } else {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         } else {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tayfunwiki</name></author>
	</entry>
	<entry>
		<id>http://www.wlabsocks.com/wiki/index.php?title=Pause&amp;diff=905&amp;oldid=prev</id>
		<title>Tayfunwiki: Created page with &quot;== &lt;code&gt;Pause&lt;/code&gt; Method in Scheme Class ==  === Overview === The &lt;code&gt;Pause&lt;/code&gt; method in the Scheme class is used to temporarily halt the progression of a scheme. This functionality is important in scenarios where the game needs to suspend the actions or effects of a particular scheme temporarily.  === Syntax === &lt;syntaxhighlight lang=&quot;c#&quot;&gt; public void Pause() &lt;/syntaxhighlight&gt;  === Description ===  * The method checks if the &lt;code&gt;Schemer&lt;/code&gt; (the controll...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=Pause&amp;diff=905&amp;oldid=prev"/>
		<updated>2024-01-04T23:44:05Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== &amp;lt;code&amp;gt;Pause&amp;lt;/code&amp;gt; Method in Scheme Class ==  === Overview === The &amp;lt;code&amp;gt;Pause&amp;lt;/code&amp;gt; method in the Scheme class is used to temporarily halt the progression of a scheme. This functionality is important in scenarios where the game needs to suspend the actions or effects of a particular scheme temporarily.  === Syntax === &amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt; public void Pause() &amp;lt;/syntaxhighlight&amp;gt;  === Description ===  * The method checks if the &amp;lt;code&amp;gt;Schemer&amp;lt;/code&amp;gt; (the controll...&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;Pause&amp;lt;/code&amp;gt; Method in Scheme Class ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
The &amp;lt;code&amp;gt;Pause&amp;lt;/code&amp;gt; method in the Scheme class is used to temporarily halt the progression of a scheme. This functionality is important in scenarios where the game needs to suspend the actions or effects of a particular scheme temporarily.&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt;&lt;br /&gt;
public void Pause()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
&lt;br /&gt;
* The method checks if the &amp;lt;code&amp;gt;Schemer&amp;lt;/code&amp;gt; (the controlling entity of the scheme) is not null before calling the &amp;lt;code&amp;gt;Pause&amp;lt;/code&amp;gt; method on it. This ensures that the scheme can be paused only if it is actively being managed or executed.&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
This method is typically used in game logic where there is a need to pause schemes due to various gameplay events, such as dialogue interactions, cutscenes, or specific player actions that require suspension of ongoing schemes.&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 SchemeController : MonoBehaviour {&lt;br /&gt;
    void PausePlayerScheme(string schemeName) {&lt;br /&gt;
        Scheme schemeToPause = IM.Player.GetScheme(schemeName);&lt;br /&gt;
        if (schemeToPause != null) {&lt;br /&gt;
            schemeToPause.Pause();&lt;br /&gt;
            Debug.Log($&amp;quot;Paused scheme: {schemeName}&amp;quot;);&lt;br /&gt;
        } else {&lt;br /&gt;
            Debug.Log($&amp;quot;Scheme not found: {schemeName}&amp;quot;);&lt;br /&gt;
        }&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;
* In the &amp;lt;code&amp;gt;PausePlayerScheme&amp;lt;/code&amp;gt; method, the example demonstrates how to pause a specific scheme. It retrieves the scheme by its name using &amp;lt;code&amp;gt;IM.Player.GetScheme&amp;lt;/code&amp;gt; and then calls the &amp;lt;code&amp;gt;Pause&amp;lt;/code&amp;gt; method on the retrieved scheme.&lt;br /&gt;
* The method logs whether the specified scheme was successfully paused or if the scheme was not found.&lt;br /&gt;
&lt;br /&gt;
=== Remarks ===&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;code&amp;gt;Pause&amp;lt;/code&amp;gt; method is a key part of managing schemes within a game, allowing for greater control over the game's narrative and mechanics.&lt;br /&gt;
* It's important to handle the paused state of schemes properly in the game's logic to ensure a seamless player experience.&lt;/div&gt;</summary>
		<author><name>Tayfunwiki</name></author>
	</entry>
</feed>