public static void Startup(ServerInfoType serverInfoType) { if (m_instance == null) { GameObject go = GameWorld.GetGameObject(); m_instance = GameUtils.GetScript <GameWorld>(go); } ServerInfoConfig.Init(serverInfoType); if (GameConfig.showFPS) { m_instance.gameObject.AddComponent <FPS>(); } m_instance.gameObject.AddComponent <Loom>(); m_instance.StartGame(); }