Fixed a Inpsector displayed error

This commit is contained in:
monitor1394
2021-01-22 09:08:52 +08:00
parent c20c47e849
commit 3a47c5de2a
5 changed files with 3 additions and 9 deletions

View File

@@ -100,11 +100,6 @@ namespace XCharts
protected void PropertyField(SerializedProperty prop, string relativePropName)
{
if (IngorePropertys.Contains(relativePropName)) return;
if (prop.FindPropertyRelative(relativePropName).isArray)
{
PropertyListField(prop, relativePropName);
return;
}
if (!ChartEditorHelper.PropertyField(ref m_DrawRect, m_Heights, m_KeyName, prop, relativePropName))
{
Debug.LogError("PropertyField ERROR:" + prop.displayName + ", " + relativePropName);