Ejemplo n.º 1
0
    void Update()
    {
        btnYenidenOyna.gameObject.SetActive(tekhak);
        btnYenidenOyna.gameObject.SetActive(ReklamScript.RewardedReklamHazirMi());


        if (PuanIslemleri.moneyDeger >= 50)  //power up Ucreti
        {
            btnShotSpeed.enabled = true;
        }
        else
        {
            btnShotSpeed.enabled = false;
        }
        if (PuanIslemleri.moneyDeger >= 50)          //power up Ucreti
        {
            btnShotPower.enabled = true;
        }
        else
        {
            btnShotPower.enabled = false;
        }
    }
Ejemplo n.º 2
0
 public void Gameover()
 {
     ContinueButton.interactable = ReklamScript.RewardedReklamHazirMi();
     ReklamScript.InsterstitialGoster();
     StartCoroutine(GameoverCoroutine());
 }