示例#1
0
        private void _Init()
        {
            if (_SplashColor.a > 0)
            {
                this.ready         = false;
                this.splashTexture = new Texture2D(1, 1, TextureFormat.ARGB32, false);
                this.splashTexture.SetPixel(0, 0, _SplashColor);
                this.splashTexture.Apply();
            }

            AnyLogger._GetInstance()._Init();
        }
示例#2
0
        internal void _Exit()
        {
            for (var i = this.runners.Count - 1; i >= 0; --i)
            {
                this.runners[i].Shutdown();
            }

            this.runners           = null;
            this.host              = null;
            ServiceCenter.instance = null;

            AnyLogger._GetInstance()._Dispose();
            Console.Stop();
        }