Esempio n. 1
0
        protected override void OnDestroy()
        {
            base.OnDestroy();

            if (mChildren != null)
            {
                foreach (CaelumBase element in mChildren)
                    element.Dispose();

                mChildren.Clear();
            }

            SkyColorModel.Dispose();

            if(UniversalClock.Instance != null)
                UniversalClock.Instance.Dispose();

            mChildren = null;
            mInstance = null;
        }
Esempio n. 2
0
 // Methods --------------------------------------------------------------------
 public CaelumManager()
 {
     mInstance = this;
 }