mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-22 01:25:12 +00:00
90 lines
2.3 KiB
C#
90 lines
2.3 KiB
C#
// <auto-generated>MinigameLoaderGenerator</auto-generated>
|
|
|
|
using Debug = UnityEngine.Debug;
|
|
using HeavenStudio.Games.Loaders;
|
|
|
|
namespace HeavenStudio
|
|
{
|
|
static partial class Minigames
|
|
{
|
|
|
|
public static void LoadMinigames(EventCaller eventCaller)
|
|
{
|
|
|
|
Minigames.Minigame game;
|
|
|
|
|
|
game = PcoDressYourBestLoader.AddGame(eventCaller);
|
|
if (game != null)
|
|
{
|
|
eventCaller.minigames.Add(game.name, game);
|
|
}
|
|
else
|
|
{
|
|
Debug.LogWarning("Game loader PcoDressYourBestLoader failed!");
|
|
}
|
|
|
|
game = PcoMeatLoader.AddGame(eventCaller);
|
|
if (game != null)
|
|
{
|
|
eventCaller.minigames.Add(game.name, game);
|
|
}
|
|
else
|
|
{
|
|
Debug.LogWarning("Game loader PcoMeatLoader failed!");
|
|
}
|
|
|
|
game = PcoNailLoader.AddGame(eventCaller);
|
|
if (game != null)
|
|
{
|
|
eventCaller.minigames.Add(game.name, game);
|
|
}
|
|
else
|
|
{
|
|
Debug.LogWarning("Game loader PcoNailLoader failed!");
|
|
}
|
|
|
|
game = PcoVenusLoader.AddGame(eventCaller);
|
|
if (game != null)
|
|
{
|
|
eventCaller.minigames.Add(game.name, game);
|
|
}
|
|
else
|
|
{
|
|
Debug.LogWarning("Game loader PcoVenusLoader failed!");
|
|
}
|
|
|
|
game = PcoSomenLoader.AddGame(eventCaller);
|
|
if (game != null)
|
|
{
|
|
eventCaller.minigames.Add(game.name, game);
|
|
}
|
|
else
|
|
{
|
|
Debug.LogWarning("Game loader PcoSomenLoader failed!");
|
|
}
|
|
|
|
game = MobTrickLoader.AddGame(eventCaller);
|
|
if (game != null)
|
|
{
|
|
eventCaller.minigames.Add(game.name, game);
|
|
}
|
|
else
|
|
{
|
|
Debug.LogWarning("Game loader MobTrickLoader failed!");
|
|
}
|
|
|
|
game = PcoWaffleLoader.AddGame(eventCaller);
|
|
if (game != null)
|
|
{
|
|
eventCaller.minigames.Add(game.name, game);
|
|
}
|
|
else
|
|
{
|
|
Debug.LogWarning("Game loader PcoWaffleLoader failed!");
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
}
|