浏览代码

rename

/siyaoH-1.17-PlatformMessage
siyao 4 年前
当前提交
7306ac55
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 4
      com.unity.uiwidgets/Runtime/engine2/UIWidgetsPanel.cs
  2. 2
      com.unity.uiwidgets/Runtime/engine2/DisplayMetrics.cs
  3. 0
      /com.unity.uiwidgets/Runtime/engine2/DisplayMetrics.cs

4
com.unity.uiwidgets/Runtime/engine2/UIWidgetsPanel.cs


static bool _ShowDebugLog;
DisplayMatrix _displayMatrix = new DisplayMatrix();
DisplayMetrics _displayMetrics = new DisplayMetrics();
float _devicePixelRatioOverride;

float _currentDevicePixelRatio {
get {
#if !UNITY_EDITOR
return _displayMatrix.DevicePixelRatioByDefault;
return _displayMetrics.DevicePixelRatioByDefault;
#endif
var currentDpi = Screen.dpi;
if (currentDpi == 0) {

2
com.unity.uiwidgets/Runtime/engine2/DisplayMetrics.cs


using UnityEngine;
namespace Unity.UIWidgets.engine2 {
public class DisplayMatrix {
public class DisplayMetrics {
float _devicePixelRatioByDefault;
public float DevicePixelRatioByDefault {

/com.unity.uiwidgets/Runtime/engine2/DisplayMatrix.cs → /com.unity.uiwidgets/Runtime/engine2/DisplayMetrics.cs

正在加载...
取消
保存