// Token: 0x060000F3 RID: 243 RVA: 0x00005ECC File Offset: 0x000042CC
 private void Awake()
 {
     if (Chartboost.instance == null)
     {
         Chartboost.instance = this;
         CBExternal.init();
         CBExternal.setGameObjectName(base.gameObject.name);
         UnityEngine.Object.DontDestroyOnLoad(base.gameObject);
         Chartboost.showingAgeGate = false;
     }
     else
     {
         UnityEngine.Object.Destroy(base.gameObject);
     }
 }
Example #2
0
        //////////////////////////////////////////////////////
        /// Monobehaviour Lifecycle functionality
        //////////////////////////////////////////////////////

        void Awake()
        {
            CBExternal.init();
            CBExternal.setGameObjectName(gameObject.name);
            DontDestroyOnLoad(gameObject);
        }