示例#1
0
        public static void Init()
        {
            if (_instance)
            {
                return;
            }
            _instance = CreateInstance <QtuiPopup>();

            // Initialize, set size to 1x1 to avoid a flicker
            _instance.position = new Rect(0, 0, 1, 1);

            _instance.ShowPopup();
        }
示例#2
0
 private void OnDestroy()
 {
     _instance    = null;
     _positionSet = false;
     _mLoaded     = false;
 }