Esempio n. 1
0
    public static void InsterstitialGoster()
    {
        if (instance == null)
        {
            return;
        }

        if (instance.interstitialReklam == null)
        {
            instance.InterstitialReklamAl();
        }

        instance.StopCoroutine(instance.InsterstitialCoroutine());
        instance.StartCoroutine(instance.InsterstitialCoroutine());
    }
Esempio n. 2
0
    private void Start()
    {
        OneSignal.StartInit("7994bb6b-6d39-4875-9107-6b4f6fc01d20")
        .HandleNotificationOpened(HandleNotificationOpened)
        .EndInit();

        OneSignal.inFocusDisplayType = OneSignal.OSInFocusDisplayOption.Notification;
        ReklamScript.RewardedReklamAl();
        ReklamScript.BannerReklamAl();
        ReklamScript.InterstitialReklamAl();
        Invoke("BannerAc", 0.5f);
        if (BeforeScore != 0)
        {
            CurrentScoreTextTMPro.text = BeforeScore.ToString();
            score = BeforeScore;
        }
    }