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

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

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