fix #139; Compile error in 2018.3

This commit is contained in:
mob-sakai
2018-11-07 08:41:01 +09:00
parent 5ff0de7354
commit 175011211e
@@ -62,7 +62,11 @@ namespace Coffee.UIExtensions.Editors
EditorGUI.BeginChangeCheck ();
EditorGUI.showMixedValue = spColor.hasMultipleDifferentValues;
#if UNITY_2018_1_OR_NEWER
spColor.colorValue = EditorGUILayout.ColorField (contentEffectColor, spColor.colorValue, true, false, false);
#else
spColor.colorValue = EditorGUILayout.ColorField (contentEffectColor, spColor.colorValue, true, false, false, null);
#endif
if (EditorGUI.EndChangeCheck ()) {
spColor.serializedObject.ApplyModifiedProperties ();
}