|
|
@ -9,43 +9,43 @@ namespace Fungus |
|
|
|
public class DialogMenuItems |
|
|
|
public class DialogMenuItems |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
[MenuItem("GameObject/Fungus/Dialog/Character")] |
|
|
|
[MenuItem("Tools/Fungus/Create/Character")] |
|
|
|
static void CreateCharacter() |
|
|
|
static void CreateCharacter() |
|
|
|
{ |
|
|
|
{ |
|
|
|
FungusScriptMenuItems.SpawnPrefab("Character"); |
|
|
|
FungusScriptMenuItems.SpawnPrefab("Character"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
[MenuItem("GameObject/Fungus/Dialog/SayDialog")] |
|
|
|
[MenuItem("Tools/Fungus/Create/Say Dialog")] |
|
|
|
static void CreateSayDialog() |
|
|
|
static void CreateSayDialog() |
|
|
|
{ |
|
|
|
{ |
|
|
|
FungusScriptMenuItems.SpawnPrefab("SayDialog"); |
|
|
|
FungusScriptMenuItems.SpawnPrefab("SayDialog"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
[MenuItem("GameObject/Fungus/Dialog/MenuDialog")] |
|
|
|
[MenuItem("Tools/Fungus/Create/Menu Dialog")] |
|
|
|
static void CreateMenuDialog() |
|
|
|
static void CreateMenuDialog() |
|
|
|
{ |
|
|
|
{ |
|
|
|
FungusScriptMenuItems.SpawnPrefab("MenuDialog"); |
|
|
|
FungusScriptMenuItems.SpawnPrefab("MenuDialog"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
[MenuItem("GameObject/Fungus/Dialog/Tag")] |
|
|
|
[MenuItem("Tools/Fungus/Create/Tag")] |
|
|
|
static void CreateTag() |
|
|
|
static void CreateTag() |
|
|
|
{ |
|
|
|
{ |
|
|
|
FungusScriptMenuItems.SpawnPrefab("Tag"); |
|
|
|
FungusScriptMenuItems.SpawnPrefab("Tag"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
[MenuItem("GameObject/Fungus/Dialog/AudioTag")] |
|
|
|
[MenuItem("Tools/Fungus/Create/Audio Tag")] |
|
|
|
static void CreateAudioTag() |
|
|
|
static void CreateAudioTag() |
|
|
|
{ |
|
|
|
{ |
|
|
|
FungusScriptMenuItems.SpawnPrefab("AudioTag"); |
|
|
|
FungusScriptMenuItems.SpawnPrefab("AudioTag"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
[MenuItem("GameObject/Fungus/Portrait/Stage")] |
|
|
|
[MenuItem("Tools/Fungus/Create/Stage")] |
|
|
|
static void CreateStage() |
|
|
|
static void CreateStage() |
|
|
|
{ |
|
|
|
{ |
|
|
|
FungusScriptMenuItems.SpawnPrefab("Stage"); |
|
|
|
FungusScriptMenuItems.SpawnPrefab("Stage"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
[MenuItem("GameObject/Fungus/Portrait/StagePosition")] |
|
|
|
[MenuItem("Tools/Fungus/Create/Stage Position")] |
|
|
|
static void CreateStagePosition() |
|
|
|
static void CreateStagePosition() |
|
|
|
{ |
|
|
|
{ |
|
|
|
FungusScriptMenuItems.SpawnPrefab("StagePosition"); |
|
|
|
FungusScriptMenuItems.SpawnPrefab("StagePosition"); |
|
|
|