コード例 #1
0
ファイル: MyAds.cs プロジェクト: abogilovic/still-burning
 void Awake()
 {
     if (s_inst == null)
     {
         s_inst = this;
     }
     else
     {
         Destroy(s_inst);
         s_inst = this;
     }
 }
コード例 #2
0
 void Start()
 {
     if (instance == null)
     {
         instance = this;
         DontDestroyOnLoad(instance.gameObject);
     }
     else
     {
         DestroyImmediate(this.gameObject);
     }
     if (!isLoadText)
     {
         GetADS();
     }
 }
コード例 #3
0
	void Start () {

        if (instance == null)
        {           
            instance = this;
            DontDestroyOnLoad(instance.gameObject);
        }
        else
        {
            DestroyImmediate(this.gameObject);
        }
        if (!isLoadText)
        {
            GetADS();
        }
	}
コード例 #4
0
 public void Revive()
 {
     FlurryEventsManager.SendEvent("RV_revive");
     MyAds.ShowRewardedAds();
     _isWaitReward = true;
 }
コード例 #5
0
ファイル: ScreenMenu.cs プロジェクト: Soulghai/EndlessDrift
 public void OnVideoAdsClicked()
 {
     FlurryEventsManager.SendEvent("RV_strawberries", "start_screen");
     MyAds.ShowRewardedAds();
     _isWaitReward = true;
 }
コード例 #6
0
ファイル: ScreenCoins.cs プロジェクト: Soulghai/EndlessDrift
 public void BtnTier3()
 {
     FlurryEventsManager.SendEvent("RV_strawberries", "shop");
     MyAds.ShowRewardedAds();
     _isWaitReward = true;
 }