diff options
| author | chai <chaifix@163.com> | 2021-09-06 21:23:34 +0800 |
|---|---|---|
| committer | chai <chaifix@163.com> | 2021-09-06 21:23:34 +0800 |
| commit | 3f276efcac68e0603258fba2dcb751329690ba87 (patch) | |
| tree | 642e06b05cfb3975502dd2b769defddefd990f5f /Assets/ActionTool/Editor/ActionEventEditor.cs | |
| parent | 34d01108e9f0c5488e8824f768c43801dd8ed4cc (diff) | |
*misc
Diffstat (limited to 'Assets/ActionTool/Editor/ActionEventEditor.cs')
| -rw-r--r-- | Assets/ActionTool/Editor/ActionEventEditor.cs | 7 |
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);
}
}
|
