示例#1
0
        private void Start()
        {
            _gameBrowserController = GameBrowserController.Singleton;

            _gameBrowserController.OnGameFound   += OnGameFound;
            _gameBrowserController.OnGameRemoved += OnGameRemoved;
        }
        public GameBrowserController()
        {
            Singleton = this;

            _serverFinder = new ServerFinder();

            _serverFinder.OnGameServerFound   += OnGameServerFound;
            _serverFinder.OnGameServerRemoved += OnGameServerRemoved;
        }