SpawnObject can now also be found under GameObject/Instantiate
@ -12,6 +12,9 @@ namespace Fungus
[CommandInfo("Scripting",
"Spawn Object",
"Spawns a new object based on a reference to a scene or prefab game object.")]
[CommandInfo("GameObject",
"Instantiate",
"Instantiate a game object")]
[AddComponentMenu("")]
[ExecuteInEditMode]
public class SpawnObject : Command
@ -11,6 +11,8 @@ namespace Fungus
/// <summary>
/// Attribute class for Fungus commands.
/// </summary>
///
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class CommandInfoAttribute : Attribute
{