Пример #1
0
        private void Awake()
        {
            showAdButton.onClick.AddListener(ShowAdClick);
            startGameButton.onClick.AddListener(StartGameClick);
            endGameButton.onClick.AddListener(EndGameClick);

            VoodooSauce.SetAdDisplayConditions(60, 3);
        }
Пример #2
0
        private void Awake()
        {
            GameObject.Instantiate(m_topAdsPrefab);

            showAdButton.onClick.AddListener(ShowAdClick);
            startGameButton.onClick.AddListener(StartGameClick);
            endGameButton.onClick.AddListener(EndGameClick);

            VoodooSauce.SetAdDisplayConditions(60, 3);
        }
Пример #3
0
        private void Awake()
        {
            showAdButton.onClick.AddListener(ShowAdClick);
            startGameButton.onClick.AddListener(StartGameClick);
            endGameButton.onClick.AddListener(EndGameClick);

            VoodooSauce.SetAdDisplayConditions(60, 3);

            // Show Android Native Toast if we are on an Android device
            #if UNITY_ANDROID
            _ShowNativeAndroidToast("Hello and Welcome to VoodooSauce demo");
            #endif
        }