コード例 #1
0
    public static void RemovePlayer(GameObject g)
    {
        Destroy(g);
        players.Remove(g);

        if (players.Count == 0)
        {
            World.ExterminateTheWorld();
            ZombieSpawner.ExterminateTheWorld();
        }
    }