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