예제 #1
0
        private void CloseWarScreen()
        {
            SquadWarScreen highestLevelScreen = Service.Get <ScreenController>().GetHighestLevelScreen <SquadWarScreen>();

            if (highestLevelScreen != null)
            {
                highestLevelScreen.Close(null);
            }
        }
예제 #2
0
        public static void ForceCloseSquadWarScreen()
        {
            if (Service.Get <WorldTransitioner>().IsTransitioning())
            {
                return;
            }
            SquadWarScreen highestLevelScreen = Service.Get <ScreenController>().GetHighestLevelScreen <SquadWarScreen>();

            if (highestLevelScreen != null)
            {
                highestLevelScreen.Close(null);
            }
        }