Example #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);
     }
 }
Example #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();
            }
        }
Example #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();
            }
        }