You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.2 KiB
55 lines
1.2 KiB
10 years ago
|
using UnityEngine;
|
||
|
using UnityEditor;
|
||
|
using System.Collections;
|
||
|
|
||
|
namespace Fungus
|
||
|
{
|
||
|
|
||
10 years ago
|
// The prefab names are prefixed with Fungus to avoid clashes with any other prefabs in the project
|
||
10 years ago
|
public class NarrativeMenuItems
|
||
10 years ago
|
{
|
||
|
|
||
10 years ago
|
[MenuItem("Tools/Fungus/Create/Character", false, 50)]
|
||
10 years ago
|
static void CreateCharacter()
|
||
|
{
|
||
10 years ago
|
FungusScriptMenuItems.SpawnPrefab("Character");
|
||
10 years ago
|
}
|
||
|
|
||
10 years ago
|
[MenuItem("Tools/Fungus/Create/Say Dialog", false, 51)]
|
||
10 years ago
|
static void CreateSayDialog()
|
||
|
{
|
||
10 years ago
|
FungusScriptMenuItems.SpawnPrefab("SayDialog");
|
||
10 years ago
|
}
|
||
|
|
||
10 years ago
|
[MenuItem("Tools/Fungus/Create/Menu Dialog", false, 52)]
|
||
10 years ago
|
static void CreateMenuDialog()
|
||
10 years ago
|
{
|
||
10 years ago
|
FungusScriptMenuItems.SpawnPrefab("MenuDialog");
|
||
10 years ago
|
}
|
||
10 years ago
|
|
||
10 years ago
|
[MenuItem("Tools/Fungus/Create/Tag", false, 53)]
|
||
10 years ago
|
static void CreateTag()
|
||
10 years ago
|
{
|
||
10 years ago
|
FungusScriptMenuItems.SpawnPrefab("Tag");
|
||
10 years ago
|
}
|
||
|
|
||
10 years ago
|
[MenuItem("Tools/Fungus/Create/Audio Tag", false, 54)]
|
||
10 years ago
|
static void CreateAudioTag()
|
||
|
{
|
||
10 years ago
|
FungusScriptMenuItems.SpawnPrefab("AudioTag");
|
||
10 years ago
|
}
|
||
|
|
||
10 years ago
|
[MenuItem("Tools/Fungus/Create/Stage", false, 55)]
|
||
10 years ago
|
static void CreateStage()
|
||
10 years ago
|
{
|
||
10 years ago
|
FungusScriptMenuItems.SpawnPrefab("Stage");
|
||
10 years ago
|
}
|
||
|
|
||
10 years ago
|
[MenuItem("Tools/Fungus/Create/Stage Position", false, 56)]
|
||
10 years ago
|
static void CreateStagePosition()
|
||
10 years ago
|
{
|
||
10 years ago
|
FungusScriptMenuItems.SpawnPrefab("StagePosition");
|
||
10 years ago
|
}
|
||
10 years ago
|
}
|
||
|
|
||
|
}
|