浏览代码

remove unused code

/siyaoH-1.17-PlatformMessage
Shiyun Wen 4 年前
当前提交
0d6ef2d4
共有 2 个文件被更改,包括 1 次插入11 次删除
  1. 8
      com.unity.uiwidgets/Editor/UIWidgetsPanelEditor.cs
  2. 4
      com.unity.uiwidgets/Runtime/engine2/UIWidgetsPanel.cs

8
com.unity.uiwidgets/Editor/UIWidgetsPanelEditor.cs


base.OnInspectorGUI();
var pixelRatioProperty = serializedObject.FindProperty("devicePixelRatioOverride");
var antiAliasingProperty = serializedObject.FindProperty("hardwareAntiAliasing");
//var ShowDebugLog = serializedObject.FindProperty("m_ShowDebugLog");
//EditorGUILayout.PropertyField(ShowDebugLog);
/*if (EditorGUI.EndChangeCheck()) {
UIWidgetsPanel.ShowDebugLog = ShowDebugLog.boolValue;
}*/
UIWidgetsPanel panel = (UIWidgetsPanel)target;
UIWidgetsPanel panel = (UIWidgetsPanel)target;
serializedObject.ApplyModifiedProperties();
}
}

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


public static bool ShowDebugLog {
get { return _ShowDebugLog; }
set {
/* foreach (var panel in panels) {
panel._ShowDebugLog = value;
}
*/
_ShowDebugLog = value;
}
}

正在加载...
取消
保存