Browse Source

Reverted Fungus sub namespaces as they were breaking backwards compatibility. Kept the Fungus.EditorUtils namespace though as it doesn't affect compatibility.

master
Christopher 8 years ago
parent
commit
060b7b46a2
  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. 2
      Assets/Fungus/Scripts/Commands/Condition.cs
  7. 3
      Assets/Fungus/Scripts/Commands/ControlAudio.cs
  8. 3
      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. 4
      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. 4
      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;
namespace Fungus.Commands
namespace Fungus
{
/// <summary>
/// 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;
namespace Fungus.Commands
namespace Fungus
{
/// <summary>
/// Supported modes for calling a block.

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

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

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

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

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

@ -3,7 +3,7 @@
using UnityEngine;
namespace Fungus.Commands
namespace Fungus
{
[AddComponentMenu("")]
public abstract class Condition : Command

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

@ -4,9 +4,8 @@
using UnityEngine;
using UnityEngine.Serialization;
using System.Collections;
using Fungus.Variables;
namespace Fungus.Commands
namespace Fungus
{
/// <summary>
/// The type of audio control to perform.

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

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

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

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

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

@ -3,10 +3,8 @@
using UnityEngine;
using System.Collections;
using Fungus.Variables;
using Fungus.Utils;
namespace Fungus.Commands
namespace Fungus
{
/// <summary>
/// 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,9 +2,8 @@
// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEngine;
using Fungus.Variables;
namespace Fungus.Commands
namespace Fungus
{
/// <summary>
/// Type of log message. Maps directly to Unity's log types.

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

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

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

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

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

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

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

@ -3,10 +3,8 @@
using UnityEngine;
using MoonSharp.Interpreter;
using Fungus;
using Fungus.Variables;
namespace Fungus.Commands
namespace Fungus
{
/// <summary>
/// Executes a Lua code chunk using a Lua Environment.

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

@ -3,7 +3,7 @@
using UnityEngine;
namespace Fungus.Commands
namespace Fungus
{
/// <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.

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

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

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

@ -3,10 +3,8 @@
using UnityEngine;
using UnityEngine.UI;
using Fungus;
using Fungus.Variables;
namespace Fungus.Commands
namespace Fungus
{
/// <summary>
/// Select which type of fade will be applied.

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

@ -3,7 +3,7 @@
using UnityEngine;
namespace Fungus.Commands
namespace Fungus
{
/// <summary>
/// Fullscreen mode options.

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

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

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

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

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

@ -4,9 +4,8 @@
using UnityEngine;
using System;
using UnityEngine.Events;
using Fungus.Variables;
namespace Fungus.Commands
namespace Fungus
{
/// <summary>
/// Supported types of method invocation.

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

@ -8,9 +8,8 @@ using System.Collections.Generic;
using System;
using UnityEngine.Events;
using MarkerMetro.Unity.WinLegacy.Reflection;
using Fungus.Variables;
namespace Fungus.Commands
namespace Fungus
{
/// <summary>
/// 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,9 +3,8 @@
using UnityEngine;
using UnityEngine.Serialization;
using Fungus.Variables;
namespace Fungus.Commands
namespace Fungus
{
/// <summary>
/// Move execution to a specific Label command in the same block.

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -4,9 +4,8 @@
using UnityEngine;
using UnityEngine.Serialization;
using System.Collections;
using Fungus.Variables;
namespace Fungus.Commands
namespace Fungus
{
/// <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).

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

@ -4,9 +4,8 @@
using UnityEngine;
using UnityEngine.Serialization;
using System.Collections;
using Fungus.Variables;
namespace Fungus.Commands
namespace Fungus
{
/// <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).

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

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

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

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

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

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

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

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

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

@ -4,9 +4,8 @@
using System;
using UnityEngine;
using UnityEngine.Serialization;
using Fungus.Variables;
namespace Fungus.Commands
namespace Fungus
{
/// <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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -2,9 +2,8 @@
// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEngine;
using Fungus.Variables;
namespace Fungus.Commands
namespace Fungus
{
/// <summary>
/// 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;
namespace Fungus.Commands
namespace Fungus
{
/// <summary>
/// Writes text in a dialog box.

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

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

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

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

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

@ -3,10 +3,8 @@
using UnityEngine;
using UnityEngine.Serialization;
using Fungus.Variables;
using Fungus.EventHandlers;
namespace Fungus.Commands
namespace Fungus
{
/// <summary>
/// Supported target types for messages.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -3,9 +3,8 @@
using UnityEngine;
using UnityEngine.Serialization;
using Fungus.Variables;
namespace Fungus.Commands
namespace Fungus
{
/// <summary>
/// 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;
namespace Fungus.Commands
namespace Fungus
{
/// <summary>
/// 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;
namespace Fungus.Commands
namespace Fungus
{
/// <summary>
/// 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;
namespace Fungus.Commands
namespace Fungus
{
/// <summary>
/// Sets the mouse cursor sprite.

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

@ -5,7 +5,7 @@ using UnityEngine;
using System;
using System.Collections;
namespace Fungus.Commands
namespace Fungus
{
/// <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.

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

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

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

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

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

@ -3,9 +3,8 @@
using UnityEngine;
using System.Collections.Generic;
using Fungus.Variables;
namespace Fungus.Commands
namespace Fungus
{
/// <summary>
/// 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,9 +4,8 @@
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Serialization;
using Fungus.Variables;
namespace Fungus.Commands
namespace Fungus
{
/// <summary>
/// Sets the text property on a UI Text object and/or an Input Field object.

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

@ -2,9 +2,8 @@
// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEngine;
using Fungus.Variables;
namespace Fungus.Commands
namespace Fungus
{
/// <summary>
/// Mathematical operations that can be performed on variables.

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

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

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

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

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

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

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

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

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

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

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

@ -3,9 +3,8 @@
using UnityEngine;
using UnityEngine.Serialization;
using Fungus.Variables;
namespace Fungus.Commands
namespace Fungus
{
/// <summary>
/// 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;
namespace Fungus.Commands
namespace Fungus
{
/// <summary>
/// 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;
namespace Fungus.Commands
namespace Fungus
{
/// <summary>
/// Stop executing the Block that contains this command.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -3,9 +3,8 @@
using UnityEngine;
using UnityEngine.Serialization;
using Fungus.Variables;
namespace Fungus.Commands
namespace Fungus
{
/// <summary>
/// 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;
namespace Fungus.Commands
namespace Fungus
{
/// <summary>
/// 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