コード例 #1
0
        private void Start()
        {
            _continueButton.OnClick = go =>
            {
                Admob.ShowRewardVideo();
            };

            _repeatButton.OnClick = go =>
                                    WindowManager.SetGameScreen(EWindowType.GameWindow, EWindowType.None, _typeGame, _modeGame);

            _homeButton.OnClick = go => WindowManager.SetGameScreen(EWindowType.MainWindow);


            Admob.AddActionForRewardVideo(() =>
            {
                if (!IsShow())
                {
                    return;
                }

                WindowManager.SetGameScreen(EWindowType.GameWindow, EWindowType.None, _typeGame, _modeGame, "true");
            });
        }