Browse Source

Added Fungus.Commands, Fungus.EventHandlers, Fungus.Variables and Fungus.Utils namespaces

master
Christopher 8 years ago
parent
commit
071fb7c345
  1. 2
      Assets/Fungus/Scripts/Commands/Break.cs
  2. 2
      Assets/Fungus/Scripts/Commands/Call.cs
  3. 2
      Assets/Fungus/Scripts/Commands/CallMethod.cs
  4. 2
      Assets/Fungus/Scripts/Commands/ClearMenu.cs
  5. 2
      Assets/Fungus/Scripts/Commands/Comment.cs
  6. 12
      Assets/Fungus/Scripts/Commands/Condition.cs
  7. 3
      Assets/Fungus/Scripts/Commands/ControlAudio.cs
  8. 8
      Assets/Fungus/Scripts/Commands/ControlStage.cs
  9. 2
      Assets/Fungus/Scripts/Commands/ControlWithDisplay.cs
  10. 4
      Assets/Fungus/Scripts/Commands/Conversation.cs
  11. 3
      Assets/Fungus/Scripts/Commands/DebugLog.cs
  12. 2
      Assets/Fungus/Scripts/Commands/DeleteSaveKey.cs
  13. 3
      Assets/Fungus/Scripts/Commands/Destroy.cs
  14. 2
      Assets/Fungus/Scripts/Commands/Else.cs
  15. 2
      Assets/Fungus/Scripts/Commands/ElseIf.cs
  16. 2
      Assets/Fungus/Scripts/Commands/End.cs
  17. 5
      Assets/Fungus/Scripts/Commands/ExecuteLua.cs
  18. 2
      Assets/Fungus/Scripts/Commands/FadeScreen.cs
  19. 3
      Assets/Fungus/Scripts/Commands/FadeSprite.cs
  20. 2
      Assets/Fungus/Scripts/Commands/FadeToView.cs
  21. 3
      Assets/Fungus/Scripts/Commands/FadeUI.cs
  22. 2
      Assets/Fungus/Scripts/Commands/Fullscreen.cs
  23. 3
      Assets/Fungus/Scripts/Commands/GetText.cs
  24. 3
      Assets/Fungus/Scripts/Commands/If.cs
  25. 3
      Assets/Fungus/Scripts/Commands/InvokeEvent.cs
  26. 3
      Assets/Fungus/Scripts/Commands/InvokeMethod.cs
  27. 3
      Assets/Fungus/Scripts/Commands/Jump.cs
  28. 2
      Assets/Fungus/Scripts/Commands/Label.cs
  29. 3
      Assets/Fungus/Scripts/Commands/LoadScene.cs
  30. 3
      Assets/Fungus/Scripts/Commands/LoadVariable.cs
  31. 3
      Assets/Fungus/Scripts/Commands/LookFrom.cs
  32. 3
      Assets/Fungus/Scripts/Commands/LookTo.cs
  33. 3
      Assets/Fungus/Scripts/Commands/Menu.cs
  34. 3
      Assets/Fungus/Scripts/Commands/MenuTimer.cs
  35. 3
      Assets/Fungus/Scripts/Commands/MoveAdd.cs
  36. 3
      Assets/Fungus/Scripts/Commands/MoveFrom.cs
  37. 3
      Assets/Fungus/Scripts/Commands/MoveTo.cs
  38. 2
      Assets/Fungus/Scripts/Commands/MoveToView.cs
  39. 3
      Assets/Fungus/Scripts/Commands/OpenURL.cs
  40. 3
      Assets/Fungus/Scripts/Commands/PlayAnimState.cs
  41. 2
      Assets/Fungus/Scripts/Commands/PlayMusic.cs
  42. 2
      Assets/Fungus/Scripts/Commands/PlaySound.cs
  43. 3
      Assets/Fungus/Scripts/Commands/PlayUsfxrSound.cs
  44. 3
      Assets/Fungus/Scripts/Commands/Portrait.cs
  45. 3
      Assets/Fungus/Scripts/Commands/PunchPosition.cs
  46. 3
      Assets/Fungus/Scripts/Commands/PunchRotation.cs
  47. 3
      Assets/Fungus/Scripts/Commands/PunchScale.cs
  48. 2
      Assets/Fungus/Scripts/Commands/Quit.cs
  49. 3
      Assets/Fungus/Scripts/Commands/RandomFloat.cs
  50. 3
      Assets/Fungus/Scripts/Commands/RandomInteger.cs
  51. 3
      Assets/Fungus/Scripts/Commands/ReadTextFile.cs
  52. 2
      Assets/Fungus/Scripts/Commands/Reset.cs
  53. 3
      Assets/Fungus/Scripts/Commands/ResetAnimTrigger.cs
  54. 3
      Assets/Fungus/Scripts/Commands/RotateAdd.cs
  55. 3
      Assets/Fungus/Scripts/Commands/RotateFrom.cs
  56. 3
      Assets/Fungus/Scripts/Commands/RotateTo.cs
  57. 3
      Assets/Fungus/Scripts/Commands/SaveVariable.cs
  58. 2
      Assets/Fungus/Scripts/Commands/Say.cs
  59. 3
      Assets/Fungus/Scripts/Commands/ScaleAdd.cs
  60. 3
      Assets/Fungus/Scripts/Commands/ScaleFrom.cs
  61. 3
      Assets/Fungus/Scripts/Commands/ScaleTo.cs
  62. 4
      Assets/Fungus/Scripts/Commands/SendMessage.cs
  63. 3
      Assets/Fungus/Scripts/Commands/SetActive.cs
  64. 3
      Assets/Fungus/Scripts/Commands/SetAnimBool.cs
  65. 3
      Assets/Fungus/Scripts/Commands/SetAnimFloat.cs
  66. 3
      Assets/Fungus/Scripts/Commands/SetAnimInteger.cs
  67. 3
      Assets/Fungus/Scripts/Commands/SetAnimTrigger.cs
  68. 2
      Assets/Fungus/Scripts/Commands/SetAudioPitch.cs
  69. 2
      Assets/Fungus/Scripts/Commands/SetAudioVolume.cs
  70. 3
      Assets/Fungus/Scripts/Commands/SetClickable2D.cs
  71. 3
      Assets/Fungus/Scripts/Commands/SetCollider.cs
  72. 3
      Assets/Fungus/Scripts/Commands/SetDraggable2D.cs
  73. 3
      Assets/Fungus/Scripts/Commands/SetInteractable.cs
  74. 3
      Assets/Fungus/Scripts/Commands/SetLanguage.cs
  75. 2
      Assets/Fungus/Scripts/Commands/SetLayerOrder.cs
  76. 2
      Assets/Fungus/Scripts/Commands/SetMenuDialog.cs
  77. 2
      Assets/Fungus/Scripts/Commands/SetMouseCursor.cs
  78. 2
      Assets/Fungus/Scripts/Commands/SetSaveProfile.cs
  79. 2
      Assets/Fungus/Scripts/Commands/SetSayDialog.cs
  80. 3
      Assets/Fungus/Scripts/Commands/SetSliderValue.cs
  81. 3
      Assets/Fungus/Scripts/Commands/SetSpriteOrder.cs
  82. 3
      Assets/Fungus/Scripts/Commands/SetText.cs
  83. 3
      Assets/Fungus/Scripts/Commands/SetVariable.cs
  84. 2
      Assets/Fungus/Scripts/Commands/ShakeCamera.cs
  85. 3
      Assets/Fungus/Scripts/Commands/ShakePosition.cs
  86. 3
      Assets/Fungus/Scripts/Commands/ShakeRotation.cs
  87. 3
      Assets/Fungus/Scripts/Commands/ShakeScale.cs
  88. 3
      Assets/Fungus/Scripts/Commands/ShowSprite.cs
  89. 3
      Assets/Fungus/Scripts/Commands/SpawnObject.cs
  90. 2
      Assets/Fungus/Scripts/Commands/StartSwipe.cs
  91. 2
      Assets/Fungus/Scripts/Commands/Stop.cs
  92. 3
      Assets/Fungus/Scripts/Commands/StopBlock.cs
  93. 2
      Assets/Fungus/Scripts/Commands/StopFlowchart.cs
  94. 2
      Assets/Fungus/Scripts/Commands/StopMusic.cs
  95. 2
      Assets/Fungus/Scripts/Commands/StopSwipe.cs
  96. 3
      Assets/Fungus/Scripts/Commands/StopTween.cs
  97. 2
      Assets/Fungus/Scripts/Commands/StopTweens.cs
  98. 3
      Assets/Fungus/Scripts/Commands/TweenUI.cs
  99. 3
      Assets/Fungus/Scripts/Commands/Wait.cs
  100. 2
      Assets/Fungus/Scripts/Commands/While.cs
  101. Some files were not shown because too many files have changed in this diff Show More

2
Assets/Fungus/Scripts/Commands/Break.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Force a loop to terminate immediately. /// Force a loop to terminate immediately.

2
Assets/Fungus/Scripts/Commands/Call.cs

@ -6,7 +6,7 @@ using UnityEngine.Serialization;
using System.Collections.Generic; using System.Collections.Generic;
using System; using System;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Execute another block in the same Flowchart as the command, or in a different Flowchart. /// Execute another block in the same Flowchart as the command, or in a different Flowchart.

2
Assets/Fungus/Scripts/Commands/CallMethod.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Calls a named method on a GameObject using the GameObject.SendMessage() system. /// Calls a named method on a GameObject using the GameObject.SendMessage() system.

2
Assets/Fungus/Scripts/Commands/ClearMenu.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Clears the options from a menu dialogue. /// Clears the options from a menu dialogue.

2
Assets/Fungus/Scripts/Commands/Comment.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Use comments to record design notes and reminders about your game. /// Use comments to record design notes and reminders about your game.

12
Assets/Fungus/Scripts/Commands/Condition.cs

@ -3,18 +3,8 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
public enum CompareOperator
{
Equals, // ==
NotEquals, // !=
LessThan, // <
GreaterThan, // >
LessThanOrEquals, // <=
GreaterThanOrEquals // >=
}
[AddComponentMenu("")] [AddComponentMenu("")]
public abstract class Condition : Command public abstract class Condition : Command
{ {

3
Assets/Fungus/Scripts/Commands/ControlAudio.cs

@ -4,8 +4,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using System.Collections; using System.Collections;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Plays, loops, or stops an audiosource. Any AudioSources with the same tag as the target Audio Source will automatically be stoped. /// Plays, loops, or stops an audiosource. Any AudioSources with the same tag as the target Audio Source will automatically be stoped.

8
Assets/Fungus/Scripts/Commands/ControlStage.cs

@ -2,13 +2,9 @@
// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEngine; using UnityEngine;
using UnityEngine.UI; using Fungus.Utils;
using UnityEngine.Events;
using System;
using System.Collections;
using System.Collections.Generic;
namespace Fungus namespace Fungus.Commands
{ {
public enum StageDisplayType public enum StageDisplayType
{ {

2
Assets/Fungus/Scripts/Commands/ControlWithDisplay.cs

@ -4,7 +4,7 @@
using System; using System;
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
public class ControlWithDisplay<TDisplayEnum> : Command public class ControlWithDisplay<TDisplayEnum> : Command
{ {

4
Assets/Fungus/Scripts/Commands/Conversation.cs

@ -3,8 +3,10 @@
using UnityEngine; using UnityEngine;
using System.Collections; using System.Collections;
using Fungus.Variables;
using Fungus.Utils;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Do multiple say and portrait commands in a single block of text. Format is: [character] [portrait] [stage position] [: Story text]. /// Do multiple say and portrait commands in a single block of text. Format is: [character] [portrait] [stage position] [: Story text].

3
Assets/Fungus/Scripts/Commands/DebugLog.cs

@ -2,8 +2,9 @@
// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEngine; using UnityEngine;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Writes a log message to the debug console. /// Writes a log message to the debug console.

2
Assets/Fungus/Scripts/Commands/DeleteSaveKey.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Deletes a saved value from permanent storage. /// Deletes a saved value from permanent storage.

3
Assets/Fungus/Scripts/Commands/Destroy.cs

@ -3,8 +3,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Destroys a specified game object in the scene. /// Destroys a specified game object in the scene.

2
Assets/Fungus/Scripts/Commands/Else.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Marks the start of a command block to be executed when the preceding If statement is False. /// Marks the start of a command block to be executed when the preceding If statement is False.

2
Assets/Fungus/Scripts/Commands/ElseIf.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Marks the start of a command block to be executed when the preceding If statement is False and the test expression is true. /// Marks the start of a command block to be executed when the preceding If statement is False and the test expression is true.

2
Assets/Fungus/Scripts/Commands/End.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Marks the end of a conditional block. /// Marks the end of a conditional block.

5
Assets/Fungus/Scripts/Commands/ExecuteLua.cs

@ -2,10 +2,11 @@
// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEngine; using UnityEngine;
using Fungus;
using MoonSharp.Interpreter; using MoonSharp.Interpreter;
using Fungus;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Executes a Lua code chunk using a Lua Environment. /// Executes a Lua code chunk using a Lua Environment.

2
Assets/Fungus/Scripts/Commands/FadeScreen.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Draws a fullscreen texture over the scene to give a fade effect. Setting Target Alpha to 1 will obscure the screen, alpha 0 will reveal the screen. /// Draws a fullscreen texture over the scene to give a fade effect. Setting Target Alpha to 1 will obscure the screen, alpha 0 will reveal the screen.

3
Assets/Fungus/Scripts/Commands/FadeSprite.cs

@ -3,8 +3,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Fades a sprite to a target color over a period of time. /// Fades a sprite to a target color over a period of time.

2
Assets/Fungus/Scripts/Commands/FadeToView.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Fades the camera out and in again at a position specified by a View object. /// Fades the camera out and in again at a position specified by a View object.

3
Assets/Fungus/Scripts/Commands/FadeUI.cs

@ -4,8 +4,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.UI; using UnityEngine.UI;
using Fungus; using Fungus;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Fades a UI object. /// Fades a UI object.

2
Assets/Fungus/Scripts/Commands/Fullscreen.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Sets the application to fullscreen, windowed or toggles the current state. /// Sets the application to fullscreen, windowed or toggles the current state.

3
Assets/Fungus/Scripts/Commands/GetText.cs

@ -4,8 +4,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.UI; using UnityEngine.UI;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Gets the text property from a UI Text object and stores it in a string variable. /// Gets the text property from a UI Text object and stores it in a string variable.

3
Assets/Fungus/Scripts/Commands/If.cs

@ -2,8 +2,9 @@
// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEngine; using UnityEngine;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// If the test expression is true, execute the following command block. /// If the test expression is true, execute the following command block.

3
Assets/Fungus/Scripts/Commands/InvokeEvent.cs

@ -4,8 +4,9 @@
using UnityEngine; using UnityEngine;
using System; using System;
using UnityEngine.Events; using UnityEngine.Events;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Calls a list of component methods via the Unity Event System (as used in the Unity UI) /// Calls a list of component methods via the Unity Event System (as used in the Unity UI)

3
Assets/Fungus/Scripts/Commands/InvokeMethod.cs

@ -8,8 +8,9 @@ using System.Collections.Generic;
using System; using System;
using UnityEngine.Events; using UnityEngine.Events;
using MarkerMetro.Unity.WinLegacy.Reflection; using MarkerMetro.Unity.WinLegacy.Reflection;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Invokes a method of a component via reflection. Supports passing multiple parameters and storing returned values in a Fungus variable. /// Invokes a method of a component via reflection. Supports passing multiple parameters and storing returned values in a Fungus variable.

3
Assets/Fungus/Scripts/Commands/Jump.cs

@ -3,8 +3,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Move execution to a specific Label command in the same block. /// Move execution to a specific Label command in the same block.

2
Assets/Fungus/Scripts/Commands/Label.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Marks a position in the command list for execution to jump to. /// Marks a position in the command list for execution to jump to.

3
Assets/Fungus/Scripts/Commands/LoadScene.cs

@ -3,8 +3,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Loads a new Unity scene and displays an optional loading image. This is useful /// Loads a new Unity scene and displays an optional loading image. This is useful

3
Assets/Fungus/Scripts/Commands/LoadVariable.cs

@ -2,8 +2,9 @@
// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEngine; using UnityEngine;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Loads a saved value and stores it in a Boolean, Integer, Float or String variable. If the key is not found then the variable is not modified. /// Loads a saved value and stores it in a Boolean, Integer, Float or String variable. If the key is not found then the variable is not modified.

3
Assets/Fungus/Scripts/Commands/LookFrom.cs

@ -4,8 +4,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using System.Collections; using System.Collections;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Instantly rotates a GameObject to look at the supplied Vector3 then returns it to it's starting rotation over time. /// Instantly rotates a GameObject to look at the supplied Vector3 then returns it to it's starting rotation over time.

3
Assets/Fungus/Scripts/Commands/LookTo.cs

@ -4,8 +4,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using System.Collections; using System.Collections;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Rotates a GameObject to look at a supplied Transform or Vector3 over time. /// Rotates a GameObject to look at a supplied Transform or Vector3 over time.

3
Assets/Fungus/Scripts/Commands/Menu.cs

@ -4,8 +4,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using System.Collections.Generic; using System.Collections.Generic;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Displays a button in a multiple choice menu. /// Displays a button in a multiple choice menu.

3
Assets/Fungus/Scripts/Commands/MenuTimer.cs

@ -4,8 +4,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using System.Collections.Generic; using System.Collections.Generic;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Displays a timer bar and executes a target block if the player fails to select a menu option in time. /// Displays a timer bar and executes a target block if the player fails to select a menu option in time.

3
Assets/Fungus/Scripts/Commands/MoveAdd.cs

@ -4,8 +4,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using System.Collections; using System.Collections;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Moves a game object by a specified offset over time. /// Moves a game object by a specified offset over time.

3
Assets/Fungus/Scripts/Commands/MoveFrom.cs

@ -4,8 +4,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using System.Collections; using System.Collections;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Moves a game object from a specified position back to its starting position over time. The position can be defined by a transform in another object (using To Transform) or by setting an absolute position (using To Position, if To Transform is set to None). /// Moves a game object from a specified position back to its starting position over time. The position can be defined by a transform in another object (using To Transform) or by setting an absolute position (using To Position, if To Transform is set to None).

3
Assets/Fungus/Scripts/Commands/MoveTo.cs

@ -4,8 +4,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using System.Collections; using System.Collections;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Moves a game object to a specified position over time. The position can be defined by a transform in another object (using To Transform) or by setting an absolute position (using To Position, if To Transform is set to None). /// Moves a game object to a specified position over time. The position can be defined by a transform in another object (using To Transform) or by setting an absolute position (using To Position, if To Transform is set to None).

2
Assets/Fungus/Scripts/Commands/MoveToView.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Moves the camera to a location specified by a View object. /// Moves the camera to a location specified by a View object.

3
Assets/Fungus/Scripts/Commands/OpenURL.cs

@ -3,8 +3,9 @@
using UnityEngine; using UnityEngine;
using Fungus; using Fungus;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Opens the specified URL in the browser. /// Opens the specified URL in the browser.

3
Assets/Fungus/Scripts/Commands/PlayAnimState.cs

@ -2,8 +2,9 @@
// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEngine; using UnityEngine;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Plays a state of an animator according to the state name. /// Plays a state of an animator according to the state name.

2
Assets/Fungus/Scripts/Commands/PlayMusic.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Plays looping game music. If any game music is already playing, it is stopped. Game music will continue playing across scene loads. /// Plays looping game music. If any game music is already playing, it is stopped. Game music will continue playing across scene loads.

2
Assets/Fungus/Scripts/Commands/PlaySound.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Plays a once-off sound effect. Multiple sound effects can be played at the same time. /// Plays a once-off sound effect. Multiple sound effects can be played at the same time.

3
Assets/Fungus/Scripts/Commands/PlayUsfxrSound.cs

@ -4,8 +4,9 @@
using System; using System;
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Plays a usfxr synth sound. Use the usfxr editor [Tools > Fungus > Utilities > Generate usfxr Sound Effects] to create the SettingsString. Set a ParentTransform if using positional sound. See https://github.com/zeh/usfxr for more information about usfxr. /// Plays a usfxr synth sound. Use the usfxr editor [Tools > Fungus > Utilities > Generate usfxr Sound Effects] to create the SettingsString. Set a ParentTransform if using positional sound. See https://github.com/zeh/usfxr for more information about usfxr.

3
Assets/Fungus/Scripts/Commands/Portrait.cs

@ -2,8 +2,9 @@
// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEngine; using UnityEngine;
using Fungus.Utils;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Controls a character portrait. /// Controls a character portrait.

3
Assets/Fungus/Scripts/Commands/PunchPosition.cs

@ -4,8 +4,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using System.Collections; using System.Collections;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Applies a jolt of force to a GameObject's position and wobbles it back to its initial position. /// Applies a jolt of force to a GameObject's position and wobbles it back to its initial position.

3
Assets/Fungus/Scripts/Commands/PunchRotation.cs

@ -4,8 +4,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using System.Collections; using System.Collections;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Applies a jolt of force to a GameObject's rotation and wobbles it back to its initial rotation. /// Applies a jolt of force to a GameObject's rotation and wobbles it back to its initial rotation.

3
Assets/Fungus/Scripts/Commands/PunchScale.cs

@ -4,8 +4,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using System.Collections; using System.Collections;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Applies a jolt of force to a GameObject's scale and wobbles it back to its initial scale. /// Applies a jolt of force to a GameObject's scale and wobbles it back to its initial scale.

2
Assets/Fungus/Scripts/Commands/Quit.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Quits the application. Does not work in Editor or Webplayer builds. Shouldn't generally be used on iOS. /// Quits the application. Does not work in Editor or Webplayer builds. Shouldn't generally be used on iOS.

3
Assets/Fungus/Scripts/Commands/RandomFloat.cs

@ -2,8 +2,9 @@
// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEngine; using UnityEngine;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Sets an float variable to a random value in the defined range. /// Sets an float variable to a random value in the defined range.

3
Assets/Fungus/Scripts/Commands/RandomInteger.cs

@ -2,8 +2,9 @@
// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEngine; using UnityEngine;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Sets an integer variable to a random value in the defined range. /// Sets an integer variable to a random value in the defined range.

3
Assets/Fungus/Scripts/Commands/ReadTextFile.cs

@ -3,8 +3,9 @@
using UnityEngine; using UnityEngine;
using Fungus; using Fungus;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Reads in a text file and stores the contents in a string variable. /// Reads in a text file and stores the contents in a string variable.

2
Assets/Fungus/Scripts/Commands/Reset.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Resets the state of all commands and variables in the Flowchart. /// Resets the state of all commands and variables in the Flowchart.

3
Assets/Fungus/Scripts/Commands/ResetAnimTrigger.cs

@ -3,8 +3,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Resets a trigger parameter on an Animator component. /// Resets a trigger parameter on an Animator component.

3
Assets/Fungus/Scripts/Commands/RotateAdd.cs

@ -4,8 +4,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using System.Collections; using System.Collections;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Rotates a game object by the specified angles over time. /// Rotates a game object by the specified angles over time.

3
Assets/Fungus/Scripts/Commands/RotateFrom.cs

@ -4,8 +4,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using System.Collections; using System.Collections;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Rotates a game object from the specified angles back to its starting orientation over time. /// Rotates a game object from the specified angles back to its starting orientation over time.

3
Assets/Fungus/Scripts/Commands/RotateTo.cs

@ -4,8 +4,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using System.Collections; using System.Collections;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Rotates a game object to the specified angles over time. /// Rotates a game object to the specified angles over time.

3
Assets/Fungus/Scripts/Commands/SaveVariable.cs

@ -2,8 +2,9 @@
// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEngine; using UnityEngine;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Save an Boolean, Integer, Float or String variable to persistent storage using a string key. /// Save an Boolean, Integer, Float or String variable to persistent storage using a string key.

2
Assets/Fungus/Scripts/Commands/Say.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Writes text in a dialog box. /// Writes text in a dialog box.

3
Assets/Fungus/Scripts/Commands/ScaleAdd.cs

@ -4,8 +4,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using System.Collections; using System.Collections;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Changes a game object's scale by a specified offset over time. /// Changes a game object's scale by a specified offset over time.

3
Assets/Fungus/Scripts/Commands/ScaleFrom.cs

@ -4,8 +4,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using System.Collections; using System.Collections;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Changes a game object's scale to the specified value and back to its original scale over time. /// Changes a game object's scale to the specified value and back to its original scale over time.

3
Assets/Fungus/Scripts/Commands/ScaleTo.cs

@ -4,8 +4,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using System.Collections; using System.Collections;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Changes a game object's scale to a specified value over time. /// Changes a game object's scale to a specified value over time.

4
Assets/Fungus/Scripts/Commands/SendMessage.cs

@ -3,8 +3,10 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using Fungus.Variables;
using Fungus.EventHandlers;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Sends a message to either the owner Flowchart or all Flowcharts in the scene. Blocks can listen for this message using a Message Received event handler. /// Sends a message to either the owner Flowchart or all Flowcharts in the scene. Blocks can listen for this message using a Message Received event handler.

3
Assets/Fungus/Scripts/Commands/SetActive.cs

@ -3,8 +3,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Sets a game object in the scene to be active / inactive. /// Sets a game object in the scene to be active / inactive.

3
Assets/Fungus/Scripts/Commands/SetAnimBool.cs

@ -3,8 +3,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Sets a boolean parameter on an Animator component to control a Unity animation" /// Sets a boolean parameter on an Animator component to control a Unity animation"

3
Assets/Fungus/Scripts/Commands/SetAnimFloat.cs

@ -3,8 +3,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Sets a float parameter on an Animator component to control a Unity animation. /// Sets a float parameter on an Animator component to control a Unity animation.

3
Assets/Fungus/Scripts/Commands/SetAnimInteger.cs

@ -3,8 +3,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Sets an integer parameter on an Animator component to control a Unity animation. /// Sets an integer parameter on an Animator component to control a Unity animation.

3
Assets/Fungus/Scripts/Commands/SetAnimTrigger.cs

@ -3,8 +3,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Sets a trigger parameter on an Animator component to control a Unity animation. /// Sets a trigger parameter on an Animator component to control a Unity animation.

2
Assets/Fungus/Scripts/Commands/SetAudioPitch.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Sets the global pitch level for audio played with Play Music and Play Sound commands. /// Sets the global pitch level for audio played with Play Music and Play Sound commands.

2
Assets/Fungus/Scripts/Commands/SetAudioVolume.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Sets the global volume level for audio played with Play Music and Play Sound commands. /// Sets the global volume level for audio played with Play Music and Play Sound commands.

3
Assets/Fungus/Scripts/Commands/SetClickable2D.cs

@ -2,8 +2,9 @@
// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEngine; using UnityEngine;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Sets a Clickable2D component to be clickable / non-clickable. /// Sets a Clickable2D component to be clickable / non-clickable.

3
Assets/Fungus/Scripts/Commands/SetCollider.cs

@ -3,8 +3,9 @@
using UnityEngine; using UnityEngine;
using System.Collections.Generic; using System.Collections.Generic;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Sets all collider (2d or 3d) components on the target objects to be active / inactive. /// Sets all collider (2d or 3d) components on the target objects to be active / inactive.

3
Assets/Fungus/Scripts/Commands/SetDraggable2D.cs

@ -2,8 +2,9 @@
// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEngine; using UnityEngine;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Sets a Draggable2D component to be draggable / non-draggable. /// Sets a Draggable2D component to be draggable / non-draggable.

3
Assets/Fungus/Scripts/Commands/SetInteractable.cs

@ -4,8 +4,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.UI; using UnityEngine.UI;
using System.Collections.Generic; using System.Collections.Generic;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Set the interactable state of selectable objects. /// Set the interactable state of selectable objects.

3
Assets/Fungus/Scripts/Commands/SetLanguage.cs

@ -3,8 +3,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Set the active language for the scene. A Localization object with a localization file must be present in the scene. /// Set the active language for the scene. A Localization object with a localization file must be present in the scene.

2
Assets/Fungus/Scripts/Commands/SetLayerOrder.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Sets the Renderer sorting layer of every child of a game object. Applies to all Renderers (including mesh, skinned mesh, and sprite). /// Sets the Renderer sorting layer of every child of a game object. Applies to all Renderers (including mesh, skinned mesh, and sprite).

2
Assets/Fungus/Scripts/Commands/SetMenuDialog.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Sets a custom menu dialog to use when displaying multiple choice menus. /// Sets a custom menu dialog to use when displaying multiple choice menus.

2
Assets/Fungus/Scripts/Commands/SetMouseCursor.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Sets the mouse cursor sprite. /// Sets the mouse cursor sprite.

2
Assets/Fungus/Scripts/Commands/SetSaveProfile.cs

@ -5,7 +5,7 @@ using UnityEngine;
using System; using System;
using System.Collections; using System.Collections;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Sets the active profile that the Save Variable and Load Variable commands will use. This is useful to crete multiple player save games. Once set, the profile applies across all Flowcharts and will also persist across scene loads. /// Sets the active profile that the Save Variable and Load Variable commands will use. This is useful to crete multiple player save games. Once set, the profile applies across all Flowcharts and will also persist across scene loads.

2
Assets/Fungus/Scripts/Commands/SetSayDialog.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Sets a custom say dialog to use when displaying story text. /// Sets a custom say dialog to use when displaying story text.

3
Assets/Fungus/Scripts/Commands/SetSliderValue.cs

@ -3,8 +3,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.UI; using UnityEngine.UI;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Sets the value property of a slider object. /// Sets the value property of a slider object.

3
Assets/Fungus/Scripts/Commands/SetSpriteOrder.cs

@ -3,8 +3,9 @@
using UnityEngine; using UnityEngine;
using System.Collections.Generic; using System.Collections.Generic;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Controls the render order of sprites by setting the Order In Layer property of a list of sprites. /// Controls the render order of sprites by setting the Order In Layer property of a list of sprites.

3
Assets/Fungus/Scripts/Commands/SetText.cs

@ -4,8 +4,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.UI; using UnityEngine.UI;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Sets the text property on a UI Text object and/or an Input Field object. /// Sets the text property on a UI Text object and/or an Input Field object.

3
Assets/Fungus/Scripts/Commands/SetVariable.cs

@ -2,8 +2,9 @@
// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEngine; using UnityEngine;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Sets a Boolean, Integer, Float or String variable to a new value using a simple arithmetic operation. The value can be a constant or reference another variable of the same type. /// Sets a Boolean, Integer, Float or String variable to a new value using a simple arithmetic operation. The value can be a constant or reference another variable of the same type.

2
Assets/Fungus/Scripts/Commands/ShakeCamera.cs

@ -4,7 +4,7 @@
using UnityEngine; using UnityEngine;
using System.Collections; using System.Collections;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Applies a camera shake effect to the main camera. /// Applies a camera shake effect to the main camera.

3
Assets/Fungus/Scripts/Commands/ShakePosition.cs

@ -4,8 +4,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using System.Collections; using System.Collections;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Randomly shakes a GameObject's position by a diminishing amount over time. /// Randomly shakes a GameObject's position by a diminishing amount over time.

3
Assets/Fungus/Scripts/Commands/ShakeRotation.cs

@ -4,8 +4,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using System.Collections; using System.Collections;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Randomly shakes a GameObject's rotation by a diminishing amount over time. /// Randomly shakes a GameObject's rotation by a diminishing amount over time.

3
Assets/Fungus/Scripts/Commands/ShakeScale.cs

@ -4,8 +4,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using System.Collections; using System.Collections;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Randomly shakes a GameObject's rotation by a diminishing amount over time. /// Randomly shakes a GameObject's rotation by a diminishing amount over time.

3
Assets/Fungus/Scripts/Commands/ShowSprite.cs

@ -3,8 +3,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Makes a sprite visible / invisible by setting the color alpha. /// Makes a sprite visible / invisible by setting the color alpha.

3
Assets/Fungus/Scripts/Commands/SpawnObject.cs

@ -3,8 +3,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Spawns a new object based on a reference to a scene or prefab game object. /// Spawns a new object based on a reference to a scene or prefab game object.

2
Assets/Fungus/Scripts/Commands/StartSwipe.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Activates swipe panning mode where the player can pan the camera within the area between viewA & viewB. /// Activates swipe panning mode where the player can pan the camera within the area between viewA & viewB.

2
Assets/Fungus/Scripts/Commands/Stop.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Stop executing the Block that contains this command. /// Stop executing the Block that contains this command.

3
Assets/Fungus/Scripts/Commands/StopBlock.cs

@ -2,8 +2,9 @@
// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEngine; using UnityEngine;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Stops executing the named Block. /// Stops executing the named Block.

2
Assets/Fungus/Scripts/Commands/StopFlowchart.cs

@ -4,7 +4,7 @@
using UnityEngine; using UnityEngine;
using System.Collections.Generic; using System.Collections.Generic;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Stops execution of all Blocks in a Flowchart. /// Stops execution of all Blocks in a Flowchart.

2
Assets/Fungus/Scripts/Commands/StopMusic.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Stops the currently playing game music. /// Stops the currently playing game music.

2
Assets/Fungus/Scripts/Commands/StopSwipe.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Deactivates swipe panning mode. /// Deactivates swipe panning mode.

3
Assets/Fungus/Scripts/Commands/StopTween.cs

@ -3,8 +3,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Stops an active iTween by name. /// Stops an active iTween by name.

2
Assets/Fungus/Scripts/Commands/StopTweens.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Stop all active iTweens in the current scene. /// Stop all active iTweens in the current scene.

3
Assets/Fungus/Scripts/Commands/TweenUI.cs

@ -4,8 +4,9 @@
using UnityEngine; using UnityEngine;
using System.Collections.Generic; using System.Collections.Generic;
using Fungus; using Fungus;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Abstract base class for TweenUI commands. /// Abstract base class for TweenUI commands.

3
Assets/Fungus/Scripts/Commands/Wait.cs

@ -3,8 +3,9 @@
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using Fungus.Variables;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Waits for period of time before executing the next command in the block. /// Waits for period of time before executing the next command in the block.

2
Assets/Fungus/Scripts/Commands/While.cs

@ -3,7 +3,7 @@
using UnityEngine; using UnityEngine;
namespace Fungus namespace Fungus.Commands
{ {
/// <summary> /// <summary>
/// Continuously loop through a block of commands while the condition is true. Use the Break command to force the loop to terminate immediately. /// Continuously loop through a block of commands while the condition is true. Use the Break command to force the loop to terminate immediately.

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save