Esempio n. 1
0
        public void EndSearchSession(SearchStatus status, int time)
        {
            RavenhillGameModeService gameModeService = GetService <IGameModeService>()?.Cast <RavenhillGameModeService>();

            gameModeService.EndSession(status, time);
        }
Esempio n. 2
0
        public void LoadPreviousScene()
        {
            RavenhillGameModeService gameModeService = GetService <IGameModeService>()?.Cast <RavenhillGameModeService>();

            LoadScene(gameModeService.previousRoom?.id ?? kMapRoomId);
        }