private void Awake() { this.DummyTest(); GeneralSettings.AppLaunchCounter++; this.InitDesign(); SafeLayout.Init(); Application.targetFrameRate = 60; }
private void Awake() { SafeLayout.Init(); if (SafeLayout.IsTablet) { CanvasScaler component = base.transform.parent.GetComponent <CanvasScaler>(); component.referenceResolution = new Vector2(1654f, 2927f); } }