summaryrefslogtreecommitdiff
path: root/Assets/ActionTool/Editor/ActionEventEditor.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Assets/ActionTool/Editor/ActionEventEditor.cs')
-rw-r--r--Assets/ActionTool/Editor/ActionEventEditor.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/Assets/ActionTool/Editor/ActionEventEditor.cs b/Assets/ActionTool/Editor/ActionEventEditor.cs
index 0fd9ea22..9a56f1ef 100644
--- a/Assets/ActionTool/Editor/ActionEventEditor.cs
+++ b/Assets/ActionTool/Editor/ActionEventEditor.cs
@@ -275,6 +275,13 @@ namespace ActionTool
field.SetValue(animEvent, GUI_Color((Color)field.GetValue(animEvent)));
}
}
+ else
+ {
+ Color c = GUI.color;
+ GUI.color = Color.red;
+ GUI_Label(new GUIContent("Unknown Type " + field.FieldType), GUI.skin.GetStyle("Label"));
+ GUI.color = c;
+ }
GUILayout.Space(5);
}
}