From c1e10b38320ff3d90fd2c6b5f276140edc6775a8 Mon Sep 17 00:00:00 2001 From: Bonsak Schiledrop Date: Mon, 22 Apr 2019 19:03:53 +0200 Subject: [PATCH] MinAttribute is an ambigous reference Without explicitly referencing MinAttribute to either UnityEngine.PostProcessing.MinAttribute or UnityEngine.MinAttribute, unity will flag a compile error when starting playmode. ```'MinAttribute' is an ambiguous reference between 'UnityEngine.PostProcessing.MinAttribute' and 'UnityEngine.MinAttribute'``` --- .../PostProcessing/Editor/PropertyDrawers/MinDrawer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/CurlNoise/PostProcessing/Editor/PropertyDrawers/MinDrawer.cs b/Assets/CurlNoise/PostProcessing/Editor/PropertyDrawers/MinDrawer.cs index 59791f5..8a916fd 100644 --- a/Assets/CurlNoise/PostProcessing/Editor/PropertyDrawers/MinDrawer.cs +++ b/Assets/CurlNoise/PostProcessing/Editor/PropertyDrawers/MinDrawer.cs @@ -3,12 +3,12 @@ namespace UnityEditor.PostProcessing { - [CustomPropertyDrawer(typeof(MinAttribute))] + [CustomPropertyDrawer(typeof(UnityEngine.PostProcessing.MinAttribute))] sealed class MinDrawer : PropertyDrawer { public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) { - MinAttribute attribute = (MinAttribute)base.attribute; + UnityEngine.PostProcessing.MinAttribute attribute = (UnityEngine.PostProcessing.MinAttribute)base.attribute; if (property.propertyType == SerializedPropertyType.Integer) {