|
@@ -8,7 +8,7 @@ using UnityEngine.SceneManagement;
|
|
|
public class GameMgr : MonoBehaviour
|
|
public class GameMgr : MonoBehaviour
|
|
|
{
|
|
{
|
|
|
public static bool debugInEditor = false;
|
|
public static bool debugInEditor = false;
|
|
|
- public static int gameType = 4;
|
|
|
|
|
|
|
+ public static int gameType = 6;
|
|
|
public GameMode gameMode;
|
|
public GameMode gameMode;
|
|
|
[System.NonSerialized] public bool gameOver = false;
|
|
[System.NonSerialized] public bool gameOver = false;
|
|
|
public static GameMgr ins;
|
|
public static GameMgr ins;
|
|
@@ -59,6 +59,7 @@ public class GameMgr : MonoBehaviour
|
|
|
if (gameType == 3) gameMode = new RabbitHuntGameMode(this);
|
|
if (gameType == 3) gameMode = new RabbitHuntGameMode(this);
|
|
|
if (gameType == 4) gameMode = new YejiHuntGameMode(this);
|
|
if (gameType == 4) gameMode = new YejiHuntGameMode(this);
|
|
|
if (gameType == 5) gameMode = new WolfHuntGameMode(this);
|
|
if (gameType == 5) gameMode = new WolfHuntGameMode(this);
|
|
|
|
|
+ if (gameType == 6) gameMode = new RabbitHuntGameMode_LocalPK(this);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public void StopGame() {
|
|
public void StopGame() {
|