Esempio n. 1
0
 /// <summary>
 ///
 /// </summary>
 public static void Instantiate()
 {
     if (_inst == null)
     {
         _inst       = new Stage();
         GRoot._inst = new GRoot();
         GRoot._inst.ApplyContentScaleFactor();
         _inst.AddChild(GRoot._inst.displayObject);
     }
 }
Esempio n. 2
0
        /// <summary>
        ///
        /// </summary>
        public static void Instantiate()
        {
            if (_inst == null)
            {
                _inst       = new Stage();
                GRoot._inst = new GRoot();
                _inst.AddChild(GRoot._inst.displayObject);

                StageCamera.CheckMainCamera();
            }
        }
Esempio n. 3
0
        /// <summary>
        /// 
        /// </summary>
        public static void Instantiate()
        {
            if (_inst == null)
            {
                _inst = new Stage();
                GRoot._inst = new GRoot();
                _inst.AddChild(GRoot._inst.displayObject);

                StageCamera.CheckMainCamera();
            }
        }