优化代码

This commit is contained in:
monitor1394
2019-07-25 21:10:57 +08:00
parent d024f37cd5
commit a1dc6ca8ad
8 changed files with 2 additions and 26 deletions

View File

@@ -10,7 +10,6 @@ namespace XCharts
private List<bool> m_SerieModuleToggle = new List<bool>();
private List<bool> m_DataFoldout = new List<bool>();
private int m_DataSize = 0;
private bool m_ShowJsonDataArea = false;
private string m_JsonDataAreaText;
@@ -160,8 +159,6 @@ namespace XCharts
EditorGUIUtility.fieldWidth = lastFieldWid;
EditorGUIUtility.labelWidth = lastLabelWid;
}
SerializedProperty element1 = data.GetArrayElementAtIndex(0);
SerializedProperty element2 = data.GetArrayElementAtIndex(1);
}
public override float GetPropertyHeight(SerializedProperty prop, GUIContent label)