예제 #1
0
        void OnDestroy()
        {
            // 删除缓存字体
            ClearAllFonts();
            UnInit();

            m_Instance = null;
        }
예제 #2
0
        /*-------------------------------------------------------------*/

        void Awake()
        {
            m_Instance = this;
            Init();
        }