示例#1
0
 // Token: 0x060009D4 RID: 2516 RVA: 0x0002A848 File Offset: 0x00028C48
 private void Start()
 {
     this._aspectRatioFitter = base.transform.GetComponent <AspectRatioFitter>();
     if (this._aspectRatioFitter != null)
     {
         float aspectRadio = ComibilityHelper.GetAspectRadio();
         float num         = 1f;
         if (ComibilityHelper.IsWideScreen())
         {
             num = 1.05f;
         }
         this._aspectRatioFitter.aspectRatio = this._aspectRatioFitter.aspectRatio * aspectRadio * num;
     }
 }
 // Token: 0x06000A63 RID: 2659 RVA: 0x0002CEDE File Offset: 0x0002B2DE
 public static bool IsWideScreen()
 {
     return(ComibilityHelper.GetAspectRadio() > 1.3f);
 }