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