diff --git a/Assets/Fungus/Animation/Scripts/Commands/ResetAnimTrigger.cs b/Assets/Fungus/Animation/Scripts/Commands/ResetAnimTrigger.cs index d469986e..a778d909 100644 --- a/Assets/Fungus/Animation/Scripts/Commands/ResetAnimTrigger.cs +++ b/Assets/Fungus/Animation/Scripts/Commands/ResetAnimTrigger.cs @@ -7,6 +7,7 @@ namespace Fungus [CommandInfo("Animation", "Reset Anim Trigger", "Resets a trigger parameter on an Animator component.")] + [AddComponentMenu("")] public class ResetAnimTrigger : Command { [Tooltip("Reference to an Animator component in a game object")] diff --git a/Assets/Fungus/Animation/Scripts/Commands/SetAnimBool.cs b/Assets/Fungus/Animation/Scripts/Commands/SetAnimBool.cs index 3d5ec65d..1e60682b 100644 --- a/Assets/Fungus/Animation/Scripts/Commands/SetAnimBool.cs +++ b/Assets/Fungus/Animation/Scripts/Commands/SetAnimBool.cs @@ -7,6 +7,7 @@ namespace Fungus [CommandInfo("Animation", "Set Anim Bool", "Sets a boolean parameter on an Animator component to control a Unity animation")] + [AddComponentMenu("")] public class SetAnimBool : Command { [Tooltip("Reference to an Animator component in a game object")] diff --git a/Assets/Fungus/Animation/Scripts/Commands/SetAnimFloat.cs b/Assets/Fungus/Animation/Scripts/Commands/SetAnimFloat.cs index f8e2d6d0..86473f17 100644 --- a/Assets/Fungus/Animation/Scripts/Commands/SetAnimFloat.cs +++ b/Assets/Fungus/Animation/Scripts/Commands/SetAnimFloat.cs @@ -7,6 +7,7 @@ namespace Fungus [CommandInfo("Animation", "Set Anim Float", "Sets a float parameter on an Animator component to control a Unity animation")] + [AddComponentMenu("")] public class SetAnimFloat : Command { [Tooltip("Reference to an Animator component in a game object")] diff --git a/Assets/Fungus/Animation/Scripts/Commands/SetAnimInteger.cs b/Assets/Fungus/Animation/Scripts/Commands/SetAnimInteger.cs index 8a2a735b..1b1f6292 100644 --- a/Assets/Fungus/Animation/Scripts/Commands/SetAnimInteger.cs +++ b/Assets/Fungus/Animation/Scripts/Commands/SetAnimInteger.cs @@ -7,6 +7,7 @@ namespace Fungus [CommandInfo("Animation", "Set Anim Integer", "Sets an integer parameter on an Animator component to control a Unity animation")] + [AddComponentMenu("")] public class SetAnimInteger : Command { [Tooltip("Reference to an Animator component in a game object")] diff --git a/Assets/Fungus/Animation/Scripts/Commands/SetAnimTrigger.cs b/Assets/Fungus/Animation/Scripts/Commands/SetAnimTrigger.cs index 04bb3ffa..52555254 100644 --- a/Assets/Fungus/Animation/Scripts/Commands/SetAnimTrigger.cs +++ b/Assets/Fungus/Animation/Scripts/Commands/SetAnimTrigger.cs @@ -7,6 +7,7 @@ namespace Fungus [CommandInfo("Animation", "Set Anim Trigger", "Sets a trigger parameter on an Animator component to control a Unity animation")] + [AddComponentMenu("")] public class SetAnimTrigger : Command { [Tooltip("Reference to an Animator component in a game object")] diff --git a/Assets/Fungus/Audio/Scripts/Commands/PlayMusic.cs b/Assets/Fungus/Audio/Scripts/Commands/PlayMusic.cs index e46b874c..6a29c074 100644 --- a/Assets/Fungus/Audio/Scripts/Commands/PlayMusic.cs +++ b/Assets/Fungus/Audio/Scripts/Commands/PlayMusic.cs @@ -6,6 +6,7 @@ namespace Fungus [CommandInfo("Audio", "Play Music", "Plays looping game music. If any game music is already playing, it is stopped. Game music will continue playing across scene loads.")] + [AddComponentMenu("")] public class PlayMusic : Command { [Tooltip("Music sound clip to play")] diff --git a/Assets/Fungus/Audio/Scripts/Commands/PlaySound.cs b/Assets/Fungus/Audio/Scripts/Commands/PlaySound.cs index 8d6ea863..9bf3382d 100644 --- a/Assets/Fungus/Audio/Scripts/Commands/PlaySound.cs +++ b/Assets/Fungus/Audio/Scripts/Commands/PlaySound.cs @@ -6,6 +6,7 @@ namespace Fungus [CommandInfo("Audio", "Play Sound", "Plays a once-off sound effect. Multiple sound effects can be played at the same time.")] + [AddComponentMenu("")] public class PlaySound : Command { [Tooltip("Sound effect clip to play")] diff --git a/Assets/Fungus/Audio/Scripts/Commands/PlayUsfxrSound.cs b/Assets/Fungus/Audio/Scripts/Commands/PlayUsfxrSound.cs index ae707891..de49f7ab 100644 --- a/Assets/Fungus/Audio/Scripts/Commands/PlayUsfxrSound.cs +++ b/Assets/Fungus/Audio/Scripts/Commands/PlayUsfxrSound.cs @@ -5,7 +5,8 @@ [CommandInfo("Audio", "Play Usfxr Sound", "Plays a usfxr synth sound. Use the usfxr editor [Window > 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.")] - public class PlayUsfxrSound : Command { + [AddComponentMenu("")] + public class PlayUsfxrSound : Command { protected SfxrSynth _synth = new SfxrSynth(); public Transform ParentTransform = null; public String SettingsString = ""; diff --git a/Assets/Fungus/Audio/Scripts/Commands/SetAudioVolume.cs b/Assets/Fungus/Audio/Scripts/Commands/SetAudioVolume.cs index 1230ebcc..4a110a30 100644 --- a/Assets/Fungus/Audio/Scripts/Commands/SetAudioVolume.cs +++ b/Assets/Fungus/Audio/Scripts/Commands/SetAudioVolume.cs @@ -6,6 +6,7 @@ namespace Fungus [CommandInfo("Audio", "Set Audio Volume", "Sets the global volume level for audio played with Play Music and Play Sound commands.")] + [AddComponentMenu("")] public class SetAudioVolume : Command { [Range(0,1)] diff --git a/Assets/Fungus/Audio/Scripts/Commands/StopMusic.cs b/Assets/Fungus/Audio/Scripts/Commands/StopMusic.cs index 2029d256..c23d9dcf 100644 --- a/Assets/Fungus/Audio/Scripts/Commands/StopMusic.cs +++ b/Assets/Fungus/Audio/Scripts/Commands/StopMusic.cs @@ -6,6 +6,7 @@ namespace Fungus [CommandInfo("Audio", "Stop Music", "Stops the currently playing game music.")] + [AddComponentMenu("")] public class StopMusic : Command { public override void OnEnter() diff --git a/Assets/Fungus/Camera/Scripts/Commands/FadeScreen.cs b/Assets/Fungus/Camera/Scripts/Commands/FadeScreen.cs index 73b1e22a..6dd5bb6c 100644 --- a/Assets/Fungus/Camera/Scripts/Commands/FadeScreen.cs +++ b/Assets/Fungus/Camera/Scripts/Commands/FadeScreen.cs @@ -8,6 +8,7 @@ namespace Fungus "Fade 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. " + "If no Fade Texture is provided then a default flat color texture is used.")] + [AddComponentMenu("")] public class FadeScreen : Command { [Tooltip("Time for fade effect to complete")] diff --git a/Assets/Fungus/Camera/Scripts/Commands/FadeToView.cs b/Assets/Fungus/Camera/Scripts/Commands/FadeToView.cs index be0b82c5..f0738f5a 100644 --- a/Assets/Fungus/Camera/Scripts/Commands/FadeToView.cs +++ b/Assets/Fungus/Camera/Scripts/Commands/FadeToView.cs @@ -7,6 +7,7 @@ namespace Fungus [CommandInfo("Camera", "Fade To View", "Fades the camera out and in again at a position specified by a View object. Select [Game Object > Fungus > Camera > View] to create a View object.")] + [AddComponentMenu("")] public class FadeToView : Command { [Tooltip("Time for fade effect to complete")] diff --git a/Assets/Fungus/Camera/Scripts/Commands/MoveToView.cs b/Assets/Fungus/Camera/Scripts/Commands/MoveToView.cs index 1f1e9b7d..8dff3505 100644 --- a/Assets/Fungus/Camera/Scripts/Commands/MoveToView.cs +++ b/Assets/Fungus/Camera/Scripts/Commands/MoveToView.cs @@ -7,6 +7,7 @@ namespace Fungus [CommandInfo("Camera", "Move To View", "Moves the camera to a location specified by a View object. Select [Game Object > Fungus > Camera > View] to create a View object.")] + [AddComponentMenu("")] public class MoveToView : Command { [Tooltip("Time for move effect to complete")] diff --git a/Assets/Fungus/Camera/Scripts/Commands/ShakeCamera.cs b/Assets/Fungus/Camera/Scripts/Commands/ShakeCamera.cs index c4f91757..9fd277d9 100644 --- a/Assets/Fungus/Camera/Scripts/Commands/ShakeCamera.cs +++ b/Assets/Fungus/Camera/Scripts/Commands/ShakeCamera.cs @@ -7,6 +7,7 @@ namespace Fungus [CommandInfo("Camera", "Shake Camera", "Applies a camera shake effect to the main camera.")] + [AddComponentMenu("")] public class ShakeCamera : Command { [Tooltip("Time for camera shake effect to complete")] diff --git a/Assets/Fungus/Camera/Scripts/Commands/StartSwipe.cs b/Assets/Fungus/Camera/Scripts/Commands/StartSwipe.cs index fbeb8b88..6bf55838 100644 --- a/Assets/Fungus/Camera/Scripts/Commands/StartSwipe.cs +++ b/Assets/Fungus/Camera/Scripts/Commands/StartSwipe.cs @@ -7,6 +7,7 @@ namespace Fungus [CommandInfo("Camera", "Start Swipe", "Activates swipe panning mode where the player can pan the camera within the area between viewA & viewB.")] + [AddComponentMenu("")] public class StartSwipe : Command { [Tooltip("Defines one extreme of the scrollable area that the player can pan around")] diff --git a/Assets/Fungus/Camera/Scripts/Commands/StopSwipe.cs b/Assets/Fungus/Camera/Scripts/Commands/StopSwipe.cs index a1f2df31..2d2def2c 100644 --- a/Assets/Fungus/Camera/Scripts/Commands/StopSwipe.cs +++ b/Assets/Fungus/Camera/Scripts/Commands/StopSwipe.cs @@ -7,6 +7,7 @@ namespace Fungus [CommandInfo("Camera", "Stop Swipe", "Deactivates swipe panning mode.")] + [AddComponentMenu("")] public class StopSwipe : Command { public override void OnEnter() diff --git a/Assets/Fungus/Dialog/Scripts/Commands/AddOption.cs b/Assets/Fungus/Dialog/Scripts/Commands/AddOption.cs index 1c58968a..b7f3c470 100644 --- a/Assets/Fungus/Dialog/Scripts/Commands/AddOption.cs +++ b/Assets/Fungus/Dialog/Scripts/Commands/AddOption.cs @@ -9,6 +9,7 @@ namespace Fungus "Add Option", "Adds an option for the player to select. All previously added options are displayed by the next Choose command. " + "You can specify another sequence to call and/or a variable to set when the options is selected.")] + [AddComponentMenu("")] public class AddOption : SetVariable { [Tooltip("Option text to display when presenting the option to the player")] diff --git a/Assets/Fungus/Dialog/Scripts/Commands/Choose.cs b/Assets/Fungus/Dialog/Scripts/Commands/Choose.cs index 04f02feb..956fe816 100644 --- a/Assets/Fungus/Dialog/Scripts/Commands/Choose.cs +++ b/Assets/Fungus/Dialog/Scripts/Commands/Choose.cs @@ -10,6 +10,7 @@ namespace Fungus "Presents a list of options for the player to choose from using a Choose Dialog. " + "Place Add Option commands before the Choose command to specify the player options. " + "You can also set a timeout which will cause the following command to execute when the timer runs out.")] + [AddComponentMenu("")] public class Choose : Command { public class Option diff --git a/Assets/Fungus/Dialog/Scripts/Commands/Say.cs b/Assets/Fungus/Dialog/Scripts/Commands/Say.cs index c67b113d..3542d60b 100644 --- a/Assets/Fungus/Dialog/Scripts/Commands/Say.cs +++ b/Assets/Fungus/Dialog/Scripts/Commands/Say.cs @@ -10,6 +10,7 @@ namespace Fungus "Writes a line of story text to a Say Dialog. " + "Select [Game Object > Fungus > Dialog > Say Dialog] to create a new Say Dialog in your scene. " + "Select [Game Object > Fungus > Dialog > Character] to create a new selectable speaking character.")] + [AddComponentMenu("")] public class Say : Command { [Tooltip("Story text to display to the player")] diff --git a/Assets/Fungus/FungusScript/Scripts/CommandCopyBuffer.cs b/Assets/Fungus/FungusScript/Scripts/CommandCopyBuffer.cs index 40e78c57..ffa48ec5 100644 --- a/Assets/Fungus/FungusScript/Scripts/CommandCopyBuffer.cs +++ b/Assets/Fungus/FungusScript/Scripts/CommandCopyBuffer.cs @@ -4,6 +4,7 @@ using System.Collections; namespace Fungus { + [AddComponentMenu("")] public class CommandCopyBuffer : Sequence { protected static CommandCopyBuffer instance; diff --git a/Assets/Fungus/FungusScript/Scripts/Commands/Call.cs b/Assets/Fungus/FungusScript/Scripts/Commands/Call.cs index 899f40b7..9cb177de 100644 --- a/Assets/Fungus/FungusScript/Scripts/Commands/Call.cs +++ b/Assets/Fungus/FungusScript/Scripts/Commands/Call.cs @@ -4,9 +4,11 @@ using System.Collections.Generic; namespace Fungus { + [CommandInfo("Scripting", "Call", "Execute another sequence in the same Fungus Script.")] + [AddComponentMenu("")] public class Call : Command { [Tooltip("Sequence to execute")] diff --git a/Assets/Fungus/FungusScript/Scripts/Commands/Comment.cs b/Assets/Fungus/FungusScript/Scripts/Commands/Comment.cs index d309109d..c279a4f6 100644 --- a/Assets/Fungus/FungusScript/Scripts/Commands/Comment.cs +++ b/Assets/Fungus/FungusScript/Scripts/Commands/Comment.cs @@ -7,6 +7,7 @@ namespace Fungus [CommandInfo("", "Comment", "Use comments to record design notes and reminders about your game.")] + [AddComponentMenu("")] public class Comment : Command { [Tooltip("Text to display for this comment")] diff --git a/Assets/Fungus/FungusScript/Scripts/Commands/DebugLog.cs b/Assets/Fungus/FungusScript/Scripts/Commands/DebugLog.cs index 5b9e3450..f4ff12f2 100644 --- a/Assets/Fungus/FungusScript/Scripts/Commands/DebugLog.cs +++ b/Assets/Fungus/FungusScript/Scripts/Commands/DebugLog.cs @@ -6,6 +6,7 @@ namespace Fungus [CommandInfo("Scripting", "Debug Log", "Writes a log message to the debug console.")] + [AddComponentMenu("")] public class DebugLog : Command { public enum DebugLogType diff --git a/Assets/Fungus/FungusScript/Scripts/Commands/Destroy.cs b/Assets/Fungus/FungusScript/Scripts/Commands/Destroy.cs index ad64f34c..5685a969 100644 --- a/Assets/Fungus/FungusScript/Scripts/Commands/Destroy.cs +++ b/Assets/Fungus/FungusScript/Scripts/Commands/Destroy.cs @@ -7,6 +7,7 @@ namespace Fungus [CommandInfo("Scripting", "Destroy", "Destroys a specified game object in the scene.")] + [AddComponentMenu("")] public class Destroy : Command { [Tooltip("Reference to game object to destroy")] diff --git a/Assets/Fungus/FungusScript/Scripts/Commands/Else.cs b/Assets/Fungus/FungusScript/Scripts/Commands/Else.cs index 1903a8f8..c730af89 100644 --- a/Assets/Fungus/FungusScript/Scripts/Commands/Else.cs +++ b/Assets/Fungus/FungusScript/Scripts/Commands/Else.cs @@ -7,6 +7,7 @@ namespace Fungus [CommandInfo("Scripting", "Else", "Marks the start of a sequence block to be executed when the preceding If statement is False.")] + [AddComponentMenu("")] public class Else : Command { public override void OnEnter() diff --git a/Assets/Fungus/FungusScript/Scripts/Commands/EndIf.cs b/Assets/Fungus/FungusScript/Scripts/Commands/EndIf.cs index 31da0345..0af90017 100644 --- a/Assets/Fungus/FungusScript/Scripts/Commands/EndIf.cs +++ b/Assets/Fungus/FungusScript/Scripts/Commands/EndIf.cs @@ -7,6 +7,7 @@ namespace Fungus [CommandInfo("Scripting", "End If", "Marks the end of an If statement block.")] + [AddComponentMenu("")] public class EndIf : Command { public override void OnEnter() diff --git a/Assets/Fungus/FungusScript/Scripts/Commands/If.cs b/Assets/Fungus/FungusScript/Scripts/Commands/If.cs index b9d80374..1aff6bb7 100644 --- a/Assets/Fungus/FungusScript/Scripts/Commands/If.cs +++ b/Assets/Fungus/FungusScript/Scripts/Commands/If.cs @@ -17,6 +17,7 @@ namespace Fungus [CommandInfo("Scripting", "If", "If the test expression is true, execute the following block of commands.")] + [AddComponentMenu("")] public class If : Command { [Tooltip("The variable whos value will be checked")] diff --git a/Assets/Fungus/FungusScript/Scripts/Commands/LoadGlobals.cs b/Assets/Fungus/FungusScript/Scripts/Commands/LoadGlobals.cs index 51d26fb1..566d46e9 100644 --- a/Assets/Fungus/FungusScript/Scripts/Commands/LoadGlobals.cs +++ b/Assets/Fungus/FungusScript/Scripts/Commands/LoadGlobals.cs @@ -7,6 +7,7 @@ namespace Fungus [CommandInfo("Scripting", "Load Globals", "Loads a set of global variables previously saved using the Save Globals command.")] + [AddComponentMenu("")] public class LoadGlobals : Command { [Tooltip("Save Name of saved global variable values")] diff --git a/Assets/Fungus/FungusScript/Scripts/Commands/LoadScene.cs b/Assets/Fungus/FungusScript/Scripts/Commands/LoadScene.cs index 0535b784..3cb816f4 100644 --- a/Assets/Fungus/FungusScript/Scripts/Commands/LoadScene.cs +++ b/Assets/Fungus/FungusScript/Scripts/Commands/LoadScene.cs @@ -10,6 +10,7 @@ namespace Fungus "for splitting a large game across multiple scene files to reduce peak memory " + "usage. Previously loaded assets will be released before loading the scene to free up memory." + "The scene to be loaded must be added to the scene list in Build Settings.")] + [AddComponentMenu("")] public class LoadScene : Command { [Tooltip("Name of the scene to load. The scene must also be added to the build settings.")] diff --git a/Assets/Fungus/FungusScript/Scripts/Commands/RandomFloat.cs b/Assets/Fungus/FungusScript/Scripts/Commands/RandomFloat.cs index 66751e98..69459088 100644 --- a/Assets/Fungus/FungusScript/Scripts/Commands/RandomFloat.cs +++ b/Assets/Fungus/FungusScript/Scripts/Commands/RandomFloat.cs @@ -6,6 +6,7 @@ namespace Fungus [CommandInfo("Scripting", "Random Float", "Sets an float variable to a random value in the defined range.")] + [AddComponentMenu("")] public class RandomFloat : Command { [Tooltip("The variable whos value will be set")] diff --git a/Assets/Fungus/FungusScript/Scripts/Commands/RandomInteger.cs b/Assets/Fungus/FungusScript/Scripts/Commands/RandomInteger.cs index c38385f2..10d57f17 100644 --- a/Assets/Fungus/FungusScript/Scripts/Commands/RandomInteger.cs +++ b/Assets/Fungus/FungusScript/Scripts/Commands/RandomInteger.cs @@ -6,6 +6,7 @@ namespace Fungus [CommandInfo("Scripting", "Random Integer", "Sets an integer variable to a random value in the defined range.")] + [AddComponentMenu("")] public class RandomInteger : Command { [Tooltip("The variable whos value will be set")] diff --git a/Assets/Fungus/FungusScript/Scripts/Commands/Reset.cs b/Assets/Fungus/FungusScript/Scripts/Commands/Reset.cs index 74c702df..fb94853f 100644 --- a/Assets/Fungus/FungusScript/Scripts/Commands/Reset.cs +++ b/Assets/Fungus/FungusScript/Scripts/Commands/Reset.cs @@ -7,6 +7,7 @@ namespace Fungus [CommandInfo("Scripting", "Reset", "Resets the state of all commands and local and global variables in the Fungus Script.")] + [AddComponentMenu("")] public class Reset : Command { [Tooltip("Reset state of all commands in the script")] diff --git a/Assets/Fungus/FungusScript/Scripts/Commands/RunScript.cs b/Assets/Fungus/FungusScript/Scripts/Commands/RunScript.cs index a4a6eb89..3f6e5cad 100644 --- a/Assets/Fungus/FungusScript/Scripts/Commands/RunScript.cs +++ b/Assets/Fungus/FungusScript/Scripts/Commands/RunScript.cs @@ -7,6 +7,7 @@ namespace Fungus [CommandInfo("Scripting", "Run Script", "Start executing another Fungus Script.")] + [AddComponentMenu("")] public class RunScript : Command { [Tooltip("Reference to another Fungus Script to execute")] diff --git a/Assets/Fungus/FungusScript/Scripts/Commands/SaveGlobals.cs b/Assets/Fungus/FungusScript/Scripts/Commands/SaveGlobals.cs index 6f3583d8..803121ee 100644 --- a/Assets/Fungus/FungusScript/Scripts/Commands/SaveGlobals.cs +++ b/Assets/Fungus/FungusScript/Scripts/Commands/SaveGlobals.cs @@ -7,6 +7,7 @@ namespace Fungus [CommandInfo("Scripting", "Save Globals", "Saves all current global variables to persistent storage. These can be loaded back in again in future using the LoadGlobals command. This provides a basic save game system.")] + [AddComponentMenu("")] public class SaveGlobals : Command { [Tooltip("Save Name of saved global variable values")] diff --git a/Assets/Fungus/FungusScript/Scripts/Commands/SendMessage.cs b/Assets/Fungus/FungusScript/Scripts/Commands/SendMessage.cs index d5082746..68b167b4 100644 --- a/Assets/Fungus/FungusScript/Scripts/Commands/SendMessage.cs +++ b/Assets/Fungus/FungusScript/Scripts/Commands/SendMessage.cs @@ -6,6 +6,7 @@ namespace Fungus [CommandInfo("Scripting", "Send Message", "Sends a message to either the owner Fungus Script or all Fungus Scripts in the scene. Sequences can listen for this message to start execution.")] + [AddComponentMenu("")] public class SendMessage : Command { public enum MessageTarget diff --git a/Assets/Fungus/FungusScript/Scripts/Commands/SetActive.cs b/Assets/Fungus/FungusScript/Scripts/Commands/SetActive.cs index 37b1afea..bfe971ac 100644 --- a/Assets/Fungus/FungusScript/Scripts/Commands/SetActive.cs +++ b/Assets/Fungus/FungusScript/Scripts/Commands/SetActive.cs @@ -7,6 +7,7 @@ namespace Fungus [CommandInfo("Scripting", "Set Active", "Sets a game object in the scene to be active / inactive.")] + [AddComponentMenu("")] public class SetActive : Command { [Tooltip("Reference to game object to enable / disable")] diff --git a/Assets/Fungus/FungusScript/Scripts/Commands/SetVariable.cs b/Assets/Fungus/FungusScript/Scripts/Commands/SetVariable.cs index ba2bb553..101e720e 100644 --- a/Assets/Fungus/FungusScript/Scripts/Commands/SetVariable.cs +++ b/Assets/Fungus/FungusScript/Scripts/Commands/SetVariable.cs @@ -6,6 +6,7 @@ namespace Fungus [CommandInfo("Scripting", "Set Variable", "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.")] + [AddComponentMenu("")] public class SetVariable : Command { public enum SetOperator diff --git a/Assets/Fungus/FungusScript/Scripts/Commands/Stop.cs b/Assets/Fungus/FungusScript/Scripts/Commands/Stop.cs index 43f66993..c43cb14d 100644 --- a/Assets/Fungus/FungusScript/Scripts/Commands/Stop.cs +++ b/Assets/Fungus/FungusScript/Scripts/Commands/Stop.cs @@ -7,6 +7,7 @@ namespace Fungus [CommandInfo("Scripting", "Stop", "Stop executing the current Fungus Script.")] + [AddComponentMenu("")] public class Stop : Command { public override void OnEnter() diff --git a/Assets/Fungus/FungusScript/Scripts/Commands/Wait.cs b/Assets/Fungus/FungusScript/Scripts/Commands/Wait.cs index 6a4944f9..c96d4074 100644 --- a/Assets/Fungus/FungusScript/Scripts/Commands/Wait.cs +++ b/Assets/Fungus/FungusScript/Scripts/Commands/Wait.cs @@ -7,6 +7,8 @@ namespace Fungus [CommandInfo("Scripting", "Wait", "Waits for period of time before executing the next command in the sequence.")] + + [AddComponentMenu("")] public class Wait : Command { [Tooltip("Duration to wait for")] diff --git a/Assets/Fungus/FungusScript/Scripts/EventHandler.cs b/Assets/Fungus/FungusScript/Scripts/EventHandler.cs index ab9ebae9..66e041aa 100644 --- a/Assets/Fungus/FungusScript/Scripts/EventHandler.cs +++ b/Assets/Fungus/FungusScript/Scripts/EventHandler.cs @@ -30,6 +30,7 @@ namespace Fungus */ [RequireComponent(typeof(Sequence))] [RequireComponent(typeof(FungusScript))] + [AddComponentMenu("")] public class EventHandler : MonoBehaviour { [HideInInspector] diff --git a/Assets/Fungus/FungusScript/Scripts/EventHandlers/GameStarted.cs b/Assets/Fungus/FungusScript/Scripts/EventHandlers/GameStarted.cs index a5e6228e..7330fe30 100644 --- a/Assets/Fungus/FungusScript/Scripts/EventHandlers/GameStarted.cs +++ b/Assets/Fungus/FungusScript/Scripts/EventHandlers/GameStarted.cs @@ -8,6 +8,7 @@ namespace Fungus [EventHandlerInfo("", "Game Started", "The sequence will execute when the game starts playing.")] + [AddComponentMenu("")] public class GameStarted : EventHandler { protected virtual void Start() diff --git a/Assets/Fungus/FungusScript/Scripts/EventHandlers/KeyPressed.cs b/Assets/Fungus/FungusScript/Scripts/EventHandlers/KeyPressed.cs index 57451aac..793d9227 100644 --- a/Assets/Fungus/FungusScript/Scripts/EventHandlers/KeyPressed.cs +++ b/Assets/Fungus/FungusScript/Scripts/EventHandlers/KeyPressed.cs @@ -6,6 +6,7 @@ namespace Fungus [EventHandlerInfo("Input", "Key Pressed", "The sequence will execute when a key press event occurs.")] + [AddComponentMenu("")] public class KeyPressed : EventHandler { public enum KeyPressType diff --git a/Assets/Fungus/FungusScript/Scripts/EventHandlers/MessageReceived.cs b/Assets/Fungus/FungusScript/Scripts/EventHandlers/MessageReceived.cs index 5d8eb9f1..6ad5c18d 100644 --- a/Assets/Fungus/FungusScript/Scripts/EventHandlers/MessageReceived.cs +++ b/Assets/Fungus/FungusScript/Scripts/EventHandlers/MessageReceived.cs @@ -6,6 +6,7 @@ namespace Fungus [EventHandlerInfo("", "Message Received", "The sequence will execute when the specified message is received from a Send Message command.")] + [AddComponentMenu("")] public class MessageReceived : EventHandler { public string message; diff --git a/Assets/Fungus/FungusScript/Scripts/EventHandlers/ObjectEnabled.cs b/Assets/Fungus/FungusScript/Scripts/EventHandlers/ObjectEnabled.cs index 358b6c54..08e3535c 100644 --- a/Assets/Fungus/FungusScript/Scripts/EventHandlers/ObjectEnabled.cs +++ b/Assets/Fungus/FungusScript/Scripts/EventHandlers/ObjectEnabled.cs @@ -8,6 +8,7 @@ namespace Fungus [EventHandlerInfo("", "Object Enabled", "The sequence will execute when the Fungus Script game object is enabled.")] + [AddComponentMenu("")] public class ObjectEnabled : EventHandler { protected virtual void OnEnable() diff --git a/Assets/Fungus/FungusScript/Scripts/FungusState.cs b/Assets/Fungus/FungusScript/Scripts/FungusState.cs index 36057cb6..4fc3aa5c 100644 --- a/Assets/Fungus/FungusScript/Scripts/FungusState.cs +++ b/Assets/Fungus/FungusScript/Scripts/FungusState.cs @@ -6,6 +6,7 @@ namespace Fungus // Used by the Fungus Script window to serialize the currently active Fungus Script object // so that the same Fungus Script can be displayed while editing & playing. + [AddComponentMenu("")] public class FungusState : MonoBehaviour { public FungusScript selectedFungusScript; diff --git a/Assets/Fungus/FungusScript/Scripts/Node.cs b/Assets/Fungus/FungusScript/Scripts/Node.cs index 661c87ab..88472c34 100644 --- a/Assets/Fungus/FungusScript/Scripts/Node.cs +++ b/Assets/Fungus/FungusScript/Scripts/Node.cs @@ -4,6 +4,7 @@ using System.Collections; namespace Fungus { + [AddComponentMenu("")] public class Node : MonoBehaviour { public Rect nodeRect = new Rect(0, 0, 120, 30); diff --git a/Assets/Fungus/FungusScript/Scripts/Sequence.cs b/Assets/Fungus/FungusScript/Scripts/Sequence.cs index df7da868..8557693a 100644 --- a/Assets/Fungus/FungusScript/Scripts/Sequence.cs +++ b/Assets/Fungus/FungusScript/Scripts/Sequence.cs @@ -7,6 +7,7 @@ namespace Fungus { [ExecuteInEditMode] [RequireComponent(typeof(FungusScript))] + [AddComponentMenu("")] public class Sequence : Node { public string sequenceName = "Sequence"; diff --git a/Assets/Fungus/FungusScript/Scripts/VariableTypes/BooleanVariable.cs b/Assets/Fungus/FungusScript/Scripts/VariableTypes/BooleanVariable.cs index 266db6e4..7428ddaa 100644 --- a/Assets/Fungus/FungusScript/Scripts/VariableTypes/BooleanVariable.cs +++ b/Assets/Fungus/FungusScript/Scripts/VariableTypes/BooleanVariable.cs @@ -6,6 +6,7 @@ namespace Fungus { [VariableInfo("", "Boolean")] + [AddComponentMenu("")] public class BooleanVariable : VariableBase {} diff --git a/Assets/Fungus/FungusScript/Scripts/VariableTypes/ColorVariable.cs b/Assets/Fungus/FungusScript/Scripts/VariableTypes/ColorVariable.cs index a516b420..3fa89c1e 100644 --- a/Assets/Fungus/FungusScript/Scripts/VariableTypes/ColorVariable.cs +++ b/Assets/Fungus/FungusScript/Scripts/VariableTypes/ColorVariable.cs @@ -4,6 +4,7 @@ using System.Collections; namespace Fungus { [VariableInfo("Other", "Color")] + [AddComponentMenu("")] public class ColorVariable : VariableBase {} diff --git a/Assets/Fungus/FungusScript/Scripts/VariableTypes/FloatVariable.cs b/Assets/Fungus/FungusScript/Scripts/VariableTypes/FloatVariable.cs index d3d8c742..ea737d05 100644 --- a/Assets/Fungus/FungusScript/Scripts/VariableTypes/FloatVariable.cs +++ b/Assets/Fungus/FungusScript/Scripts/VariableTypes/FloatVariable.cs @@ -4,6 +4,7 @@ using System.Collections; namespace Fungus { [VariableInfo("", "Float")] + [AddComponentMenu("")] public class FloatVariable : VariableBase {} diff --git a/Assets/Fungus/FungusScript/Scripts/VariableTypes/GameObjectVariable.cs b/Assets/Fungus/FungusScript/Scripts/VariableTypes/GameObjectVariable.cs index 3f52957d..15d498e9 100644 --- a/Assets/Fungus/FungusScript/Scripts/VariableTypes/GameObjectVariable.cs +++ b/Assets/Fungus/FungusScript/Scripts/VariableTypes/GameObjectVariable.cs @@ -4,6 +4,7 @@ using System.Collections; namespace Fungus { [VariableInfo("Other", "GameObject")] + [AddComponentMenu("")] public class GameObjectVariable : VariableBase {} diff --git a/Assets/Fungus/FungusScript/Scripts/VariableTypes/IntegerVariable.cs b/Assets/Fungus/FungusScript/Scripts/VariableTypes/IntegerVariable.cs index 126b48f1..eafc8fe7 100644 --- a/Assets/Fungus/FungusScript/Scripts/VariableTypes/IntegerVariable.cs +++ b/Assets/Fungus/FungusScript/Scripts/VariableTypes/IntegerVariable.cs @@ -4,6 +4,7 @@ using System.Collections; namespace Fungus { [VariableInfo("", "Integer")] + [AddComponentMenu("")] public class IntegerVariable : VariableBase {} diff --git a/Assets/Fungus/FungusScript/Scripts/VariableTypes/MaterialVariable.cs b/Assets/Fungus/FungusScript/Scripts/VariableTypes/MaterialVariable.cs index 7f79e3c8..3d31bf06 100644 --- a/Assets/Fungus/FungusScript/Scripts/VariableTypes/MaterialVariable.cs +++ b/Assets/Fungus/FungusScript/Scripts/VariableTypes/MaterialVariable.cs @@ -4,6 +4,7 @@ using System.Collections; namespace Fungus { [VariableInfo("Other", "Material")] + [AddComponentMenu("")] public class MaterialVariable : VariableBase {} diff --git a/Assets/Fungus/FungusScript/Scripts/VariableTypes/ObjectVariable.cs b/Assets/Fungus/FungusScript/Scripts/VariableTypes/ObjectVariable.cs index d7de584c..bae4f56d 100644 --- a/Assets/Fungus/FungusScript/Scripts/VariableTypes/ObjectVariable.cs +++ b/Assets/Fungus/FungusScript/Scripts/VariableTypes/ObjectVariable.cs @@ -4,6 +4,7 @@ using System.Collections; namespace Fungus { [VariableInfo("Other", "Object")] + [AddComponentMenu("")] public class ObjectVariable : VariableBase {} diff --git a/Assets/Fungus/FungusScript/Scripts/VariableTypes/SpriteVariable.cs b/Assets/Fungus/FungusScript/Scripts/VariableTypes/SpriteVariable.cs index 89156ba9..69d7cde8 100644 --- a/Assets/Fungus/FungusScript/Scripts/VariableTypes/SpriteVariable.cs +++ b/Assets/Fungus/FungusScript/Scripts/VariableTypes/SpriteVariable.cs @@ -4,6 +4,7 @@ using System.Collections; namespace Fungus { [VariableInfo("Other", "Sprite")] + [AddComponentMenu("")] public class SpriteVariable : VariableBase {} diff --git a/Assets/Fungus/FungusScript/Scripts/VariableTypes/StringVariable.cs b/Assets/Fungus/FungusScript/Scripts/VariableTypes/StringVariable.cs index 5cbee2d7..9907bbf1 100644 --- a/Assets/Fungus/FungusScript/Scripts/VariableTypes/StringVariable.cs +++ b/Assets/Fungus/FungusScript/Scripts/VariableTypes/StringVariable.cs @@ -5,6 +5,7 @@ namespace Fungus { [VariableInfo("", "String")] + [AddComponentMenu("")] public class StringVariable : VariableBase {} diff --git a/Assets/Fungus/FungusScript/Scripts/VariableTypes/TextureVariable.cs b/Assets/Fungus/FungusScript/Scripts/VariableTypes/TextureVariable.cs index fe88f478..102d4679 100644 --- a/Assets/Fungus/FungusScript/Scripts/VariableTypes/TextureVariable.cs +++ b/Assets/Fungus/FungusScript/Scripts/VariableTypes/TextureVariable.cs @@ -4,6 +4,7 @@ using System.Collections; namespace Fungus { [VariableInfo("Other", "Texture")] + [AddComponentMenu("")] public class TextureVariable : VariableBase {} diff --git a/Assets/Fungus/FungusScript/Scripts/VariableTypes/Vector2Variable.cs b/Assets/Fungus/FungusScript/Scripts/VariableTypes/Vector2Variable.cs index adaa9caa..0f9b2a2c 100644 --- a/Assets/Fungus/FungusScript/Scripts/VariableTypes/Vector2Variable.cs +++ b/Assets/Fungus/FungusScript/Scripts/VariableTypes/Vector2Variable.cs @@ -4,6 +4,7 @@ using System.Collections; namespace Fungus { [VariableInfo("Other", "Vector2")] + [AddComponentMenu("")] public class Vector2Variable : VariableBase {} diff --git a/Assets/Fungus/FungusScript/Scripts/VariableTypes/Vector3Variable.cs b/Assets/Fungus/FungusScript/Scripts/VariableTypes/Vector3Variable.cs index e2179603..b86a514e 100644 --- a/Assets/Fungus/FungusScript/Scripts/VariableTypes/Vector3Variable.cs +++ b/Assets/Fungus/FungusScript/Scripts/VariableTypes/Vector3Variable.cs @@ -4,6 +4,7 @@ using System.Collections; namespace Fungus { [VariableInfo("Other", "Vector3")] + [AddComponentMenu("")] public class Vector3Variable : VariableBase {} diff --git a/Assets/Fungus/Sprite/Scripts/Commands/FadeSprite.cs b/Assets/Fungus/Sprite/Scripts/Commands/FadeSprite.cs index b7a9e513..9be88462 100644 --- a/Assets/Fungus/Sprite/Scripts/Commands/FadeSprite.cs +++ b/Assets/Fungus/Sprite/Scripts/Commands/FadeSprite.cs @@ -7,6 +7,7 @@ namespace Fungus [CommandInfo("Sprite", "Fade Sprite", "Fades a sprite to a target color over a period of time.")] + [AddComponentMenu("")] public class FadeSprite : Command { public SpriteRenderer spriteRenderer; diff --git a/Assets/Fungus/Sprite/Scripts/Commands/ShowSprite.cs b/Assets/Fungus/Sprite/Scripts/Commands/ShowSprite.cs index 19aaf0a2..357bace7 100644 --- a/Assets/Fungus/Sprite/Scripts/Commands/ShowSprite.cs +++ b/Assets/Fungus/Sprite/Scripts/Commands/ShowSprite.cs @@ -7,6 +7,7 @@ namespace Fungus [CommandInfo("Sprite", "Show Sprite", "Makes a sprite visible / invisible by setting the color alpha.")] + [AddComponentMenu("")] public class ShowSprite : Command { public SpriteRenderer spriteRenderer; diff --git a/Assets/Fungus/Sprite/Scripts/EventHandlers/DragCancelled.cs b/Assets/Fungus/Sprite/Scripts/EventHandlers/DragCancelled.cs index 8acce7e7..995167be 100644 --- a/Assets/Fungus/Sprite/Scripts/EventHandlers/DragCancelled.cs +++ b/Assets/Fungus/Sprite/Scripts/EventHandlers/DragCancelled.cs @@ -8,6 +8,7 @@ namespace Fungus [EventHandlerInfo("Sprites", "Drag Cancelled", "The sequence will execute when the player drags an object and releases it without dropping it on a target object.")] + [AddComponentMenu("")] public class DragCancelled : EventHandler { public Draggable2D draggableObject; diff --git a/Assets/Fungus/Sprite/Scripts/EventHandlers/DragCompleted.cs b/Assets/Fungus/Sprite/Scripts/EventHandlers/DragCompleted.cs index 25c416f2..4786df5c 100644 --- a/Assets/Fungus/Sprite/Scripts/EventHandlers/DragCompleted.cs +++ b/Assets/Fungus/Sprite/Scripts/EventHandlers/DragCompleted.cs @@ -8,6 +8,7 @@ namespace Fungus [EventHandlerInfo("Sprites", "Drag Completed", "The sequence will execute when the player drags an object and successfully drops it on a target object.")] + [AddComponentMenu("")] public class DragCompleted : EventHandler { public Draggable2D draggableObject; diff --git a/Assets/Fungus/Sprite/Scripts/EventHandlers/DragEntered.cs b/Assets/Fungus/Sprite/Scripts/EventHandlers/DragEntered.cs index 4e5d5c4c..49fe5eca 100644 --- a/Assets/Fungus/Sprite/Scripts/EventHandlers/DragEntered.cs +++ b/Assets/Fungus/Sprite/Scripts/EventHandlers/DragEntered.cs @@ -9,6 +9,7 @@ namespace Fungus [EventHandlerInfo("Sprites", "Drag Entered", "The sequence will execute when the player is dragging an object which starts touching the target object.")] + [AddComponentMenu("")] public class DragEntered : EventHandler { public Draggable2D draggableObject; diff --git a/Assets/Fungus/Sprite/Scripts/EventHandlers/DragExited.cs b/Assets/Fungus/Sprite/Scripts/EventHandlers/DragExited.cs index afb45911..fdad857c 100644 --- a/Assets/Fungus/Sprite/Scripts/EventHandlers/DragExited.cs +++ b/Assets/Fungus/Sprite/Scripts/EventHandlers/DragExited.cs @@ -9,6 +9,7 @@ namespace Fungus [EventHandlerInfo("Sprites", "Drag Exited", "The sequence will execute when the player is dragging an object which stops touching the target object.")] + [AddComponentMenu("")] public class DragExited : EventHandler { public Draggable2D draggableObject; diff --git a/Assets/Fungus/Sprite/Scripts/EventHandlers/DragStarted.cs b/Assets/Fungus/Sprite/Scripts/EventHandlers/DragStarted.cs index 9883d5b0..f2f3cad6 100644 --- a/Assets/Fungus/Sprite/Scripts/EventHandlers/DragStarted.cs +++ b/Assets/Fungus/Sprite/Scripts/EventHandlers/DragStarted.cs @@ -8,6 +8,7 @@ namespace Fungus [EventHandlerInfo("Sprites", "Drag Started", "The sequence will execute when the player starts dragging an object.")] + [AddComponentMenu("")] public class DragStarted : EventHandler { public Draggable2D draggableObject; diff --git a/Assets/Fungus/Sprite/Scripts/EventHandlers/ObjectClicked.cs b/Assets/Fungus/Sprite/Scripts/EventHandlers/ObjectClicked.cs index cc0bdaf4..258f1ebc 100644 --- a/Assets/Fungus/Sprite/Scripts/EventHandlers/ObjectClicked.cs +++ b/Assets/Fungus/Sprite/Scripts/EventHandlers/ObjectClicked.cs @@ -6,6 +6,7 @@ namespace Fungus [EventHandlerInfo("Sprites", "Object Clicked", "The sequence will execute when the user clicks or taps on the clickable object.")] + [AddComponentMenu("")] public class ObjectClicked : EventHandler { public Clickable2D clickableObject; diff --git a/Assets/Fungus/Thirdparty/Usfxr/Scripts/SfxrAudioPlayer.cs b/Assets/Fungus/Thirdparty/Usfxr/Scripts/SfxrAudioPlayer.cs index 6774b4a5..94bc9441 100644 --- a/Assets/Fungus/Thirdparty/Usfxr/Scripts/SfxrAudioPlayer.cs +++ b/Assets/Fungus/Thirdparty/Usfxr/Scripts/SfxrAudioPlayer.cs @@ -6,6 +6,8 @@ using UnityEngine; #if UNITY_EDITOR [ExecuteInEditMode] #endif + +[AddComponentMenu("")] public class SfxrAudioPlayer : MonoBehaviour { /** diff --git a/Assets/Fungus/Thirdparty/Usfxr/Scripts/SfxrCacheSurrogate.cs b/Assets/Fungus/Thirdparty/Usfxr/Scripts/SfxrCacheSurrogate.cs index 15353f55..61362476 100644 --- a/Assets/Fungus/Thirdparty/Usfxr/Scripts/SfxrCacheSurrogate.cs +++ b/Assets/Fungus/Thirdparty/Usfxr/Scripts/SfxrCacheSurrogate.cs @@ -2,6 +2,7 @@ using System; using System.Collections; using UnityEngine; +[AddComponentMenu("")] public class SfxrCacheSurrogate : MonoBehaviour { /** diff --git a/Assets/Fungus/Thirdparty/iTween/iTween.cs b/Assets/Fungus/Thirdparty/iTween/iTween.cs index 637aedad..40af2cca 100644 --- a/Assets/Fungus/Thirdparty/iTween/iTween.cs +++ b/Assets/Fungus/Thirdparty/iTween/iTween.cs @@ -49,6 +49,7 @@ namespace Fungus /// Author: Bob Berkebile (http://pixelplacement.com) /// Support: http://itween.pixelplacement.com /// +[AddComponentMenu("")] public class iTween : MonoBehaviour{ #region Variables diff --git a/Assets/Fungus/iTween/Scripts/Commands/LookFrom.cs b/Assets/Fungus/iTween/Scripts/Commands/LookFrom.cs index cb3facc4..5fef3526 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/LookFrom.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/LookFrom.cs @@ -6,6 +6,7 @@ namespace Fungus [CommandInfo("iTween", "Look From", "Instantly rotates a GameObject to look at the supplied Vector3 then returns it to it's starting rotation over time.")] + [AddComponentMenu("")] public class LookFrom : iTweenCommand { [Tooltip("Target transform that the GameObject will look at")] diff --git a/Assets/Fungus/iTween/Scripts/Commands/LookTo.cs b/Assets/Fungus/iTween/Scripts/Commands/LookTo.cs index 3023d9c8..9bbc0d2e 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/LookTo.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/LookTo.cs @@ -6,6 +6,7 @@ namespace Fungus [CommandInfo("iTween", "Look To", "Rotates a GameObject to look at a supplied Transform or Vector3 over time.")] + [AddComponentMenu("")] public class LookTo : iTweenCommand { [Tooltip("Target transform that the GameObject will look at")] diff --git a/Assets/Fungus/iTween/Scripts/Commands/MoveAdd.cs b/Assets/Fungus/iTween/Scripts/Commands/MoveAdd.cs index 799d5cc9..1960ff01 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/MoveAdd.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/MoveAdd.cs @@ -6,6 +6,7 @@ namespace Fungus [CommandInfo("iTween", "Move Add", "Moves a game object by a specified offset over time.")] + [AddComponentMenu("")] public class MoveAdd : iTweenCommand { [Tooltip("A translation offset in space the GameObject will animate to")] diff --git a/Assets/Fungus/iTween/Scripts/Commands/MoveFrom.cs b/Assets/Fungus/iTween/Scripts/Commands/MoveFrom.cs index b8a95bfc..4405707b 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/MoveFrom.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/MoveFrom.cs @@ -6,6 +6,7 @@ namespace Fungus [CommandInfo("iTween", "Move From", "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).")] + [AddComponentMenu("")] public class MoveFrom : iTweenCommand { [Tooltip("Target transform that the GameObject will move from")] diff --git a/Assets/Fungus/iTween/Scripts/Commands/MoveTo.cs b/Assets/Fungus/iTween/Scripts/Commands/MoveTo.cs index 18161c36..2a48f406 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/MoveTo.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/MoveTo.cs @@ -6,6 +6,7 @@ namespace Fungus [CommandInfo("iTween", "Move To", "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).")] + [AddComponentMenu("")] public class MoveTo : iTweenCommand { [Tooltip("Target transform that the GameObject will move to")] diff --git a/Assets/Fungus/iTween/Scripts/Commands/PunchPosition.cs b/Assets/Fungus/iTween/Scripts/Commands/PunchPosition.cs index 75813ce8..962c7685 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/PunchPosition.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/PunchPosition.cs @@ -6,6 +6,7 @@ namespace Fungus [CommandInfo("iTween", "Punch Position", "Applies a jolt of force to a GameObject's position and wobbles it back to its initial position.")] + [AddComponentMenu("")] public class PunchPosition : iTweenCommand { [Tooltip("A translation offset in space the GameObject will animate to")] diff --git a/Assets/Fungus/iTween/Scripts/Commands/PunchRotation.cs b/Assets/Fungus/iTween/Scripts/Commands/PunchRotation.cs index da3b84b6..14c44f3b 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/PunchRotation.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/PunchRotation.cs @@ -6,6 +6,7 @@ namespace Fungus [CommandInfo("iTween", "Punch Rotation", "Applies a jolt of force to a GameObject's rotation and wobbles it back to its initial rotation.")] + [AddComponentMenu("")] public class PunchRotation : iTweenCommand { [Tooltip("A rotation offset in space the GameObject will animate to")] diff --git a/Assets/Fungus/iTween/Scripts/Commands/PunchScale.cs b/Assets/Fungus/iTween/Scripts/Commands/PunchScale.cs index 864f4591..133d4987 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/PunchScale.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/PunchScale.cs @@ -6,6 +6,7 @@ namespace Fungus [CommandInfo("iTween", "Punch Scale", "Applies a jolt of force to a GameObject's scale and wobbles it back to its initial scale.")] + [AddComponentMenu("")] public class PunchScale : iTweenCommand { [Tooltip("A scale offset in space the GameObject will animate to")] diff --git a/Assets/Fungus/iTween/Scripts/Commands/RotateAdd.cs b/Assets/Fungus/iTween/Scripts/Commands/RotateAdd.cs index 35df9e90..60a11a7c 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/RotateAdd.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/RotateAdd.cs @@ -6,6 +6,7 @@ namespace Fungus [CommandInfo("iTween", "Rotate Add", "Rotates a game object by the specified angles over time.")] + [AddComponentMenu("")] public class RotateAdd : iTweenCommand { [Tooltip("A rotation offset in space the GameObject will animate to")] diff --git a/Assets/Fungus/iTween/Scripts/Commands/RotateFrom.cs b/Assets/Fungus/iTween/Scripts/Commands/RotateFrom.cs index 57710f52..d9b52908 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/RotateFrom.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/RotateFrom.cs @@ -6,6 +6,7 @@ namespace Fungus [CommandInfo("iTween", "Rotate From", "Rotates a game object from the specified angles back to its starting orientation over time.")] + [AddComponentMenu("")] public class RotateFrom : iTweenCommand { [Tooltip("Target transform that the GameObject will rotate from")] diff --git a/Assets/Fungus/iTween/Scripts/Commands/RotateTo.cs b/Assets/Fungus/iTween/Scripts/Commands/RotateTo.cs index 87106395..45098e03 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/RotateTo.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/RotateTo.cs @@ -6,6 +6,7 @@ namespace Fungus [CommandInfo("iTween", "Rotate To", "Rotates a game object to the specified angles over time.")] + [AddComponentMenu("")] public class RotateTo : iTweenCommand { [Tooltip("Target transform that the GameObject will rotate to")] diff --git a/Assets/Fungus/iTween/Scripts/Commands/ScaleAdd.cs b/Assets/Fungus/iTween/Scripts/Commands/ScaleAdd.cs index 0251079d..e71f00f8 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/ScaleAdd.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/ScaleAdd.cs @@ -6,6 +6,7 @@ namespace Fungus [CommandInfo("iTween", "Scale Add", "Changes a game object's scale by a specified offset over time.")] + [AddComponentMenu("")] public class ScaleAdd : iTweenCommand { [Tooltip("A scale offset in space the GameObject will animate to")] diff --git a/Assets/Fungus/iTween/Scripts/Commands/ScaleFrom.cs b/Assets/Fungus/iTween/Scripts/Commands/ScaleFrom.cs index 21969c05..d9719347 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/ScaleFrom.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/ScaleFrom.cs @@ -6,6 +6,7 @@ namespace Fungus [CommandInfo("iTween", "Scale From", "Changes a game object's scale to the specified value and back to its original scale over time.")] + [AddComponentMenu("")] public class ScaleFrom : iTweenCommand { [Tooltip("Target transform that the GameObject will scale from")] diff --git a/Assets/Fungus/iTween/Scripts/Commands/ScaleTo.cs b/Assets/Fungus/iTween/Scripts/Commands/ScaleTo.cs index 07d5a09a..be9f1abc 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/ScaleTo.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/ScaleTo.cs @@ -6,6 +6,7 @@ namespace Fungus [CommandInfo("iTween", "Scale To", "Changes a game object's scale to a specified value over time.")] + [AddComponentMenu("")] public class ScaleTo : iTweenCommand { [Tooltip("Target transform that the GameObject will scale to")] diff --git a/Assets/Fungus/iTween/Scripts/Commands/ShakePosition.cs b/Assets/Fungus/iTween/Scripts/Commands/ShakePosition.cs index 2461f695..361d5aba 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/ShakePosition.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/ShakePosition.cs @@ -6,6 +6,7 @@ namespace Fungus [CommandInfo("iTween", "Shake Position", "Randomly shakes a GameObject's position by a diminishing amount over time.")] + [AddComponentMenu("")] public class ShakePosition : iTweenCommand { [Tooltip("A translation offset in space the GameObject will animate to")] diff --git a/Assets/Fungus/iTween/Scripts/Commands/ShakeRotation.cs b/Assets/Fungus/iTween/Scripts/Commands/ShakeRotation.cs index 9b0a54a8..2585f4cf 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/ShakeRotation.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/ShakeRotation.cs @@ -6,6 +6,7 @@ namespace Fungus [CommandInfo("iTween", "Shake Rotation", "Randomly shakes a GameObject's rotation by a diminishing amount over time.")] + [AddComponentMenu("")] public class ShakeRotation : iTweenCommand { [Tooltip("A rotation offset in space the GameObject will animate to")] diff --git a/Assets/Fungus/iTween/Scripts/Commands/ShakeScale.cs b/Assets/Fungus/iTween/Scripts/Commands/ShakeScale.cs index 73751443..86e40fee 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/ShakeScale.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/ShakeScale.cs @@ -6,6 +6,7 @@ namespace Fungus [CommandInfo("iTween", "Shake Scale", "Randomly shakes a GameObject's rotation by a diminishing amount over time.")] + [AddComponentMenu("")] public class ShakeScale : iTweenCommand { [Tooltip("A scale offset in space the GameObject will animate to")] diff --git a/Assets/Fungus/iTween/Scripts/Commands/StopTween.cs b/Assets/Fungus/iTween/Scripts/Commands/StopTween.cs index 8e010684..c2622ed1 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/StopTween.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/StopTween.cs @@ -6,6 +6,7 @@ namespace Fungus [CommandInfo("iTween", "Stop Tween", "Stops an active iTween by name.")] + [AddComponentMenu("")] public class StopTween : Command { [Tooltip("Stop and destroy any Tweens in current scene with the supplied name")] diff --git a/Assets/Fungus/iTween/Scripts/Commands/StopTweens.cs b/Assets/Fungus/iTween/Scripts/Commands/StopTweens.cs index 363e72c5..362c2f88 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/StopTweens.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/StopTweens.cs @@ -6,6 +6,7 @@ namespace Fungus [CommandInfo("iTween", "Stop Tweens", "Stop all active iTweens in the current scene.")] + [AddComponentMenu("")] public class StopTweens : Command { public override void OnEnter()