Exemplo n.º 1
0
    private void Start()
    {
        m_AdBanner        = GameObject.Find("AdBanner").GetComponent <AdBanner>();
        m_AdInterstitial  = GameObject.Find("AdInterstitial").GetComponent <AdInterstitial>();
        m_AdRewardedVideo = GameObject.Find("AdRewardedVideo").GetComponent <AdRewardedVideo>();

        ReloadADS();
    }
Exemplo n.º 2
0
 private void Awake()
 {
     if (ins == null)
     {
         ins = this;
         DontDestroyOnLoad(gameObject);
     }
     else if (ins != this)
     {
         Destroy(gameObject);
     }
 }