RenaissanceCoders_UnityScripting icon indicating copy to clipboard operation
RenaissanceCoders_UnityScripting copied to clipboard

error CS0104: 'MinAttribute' is an ambiguous reference between 'UnityEngine.PostProcessing.MinAttribute' and 'UnityEngine.MinAttribute'

Open Yukinyaa opened this issue 6 years ago • 3 comments

Assets\PostProcessing\Editor\PropertyDrawers\MinDrawer.cs(11,13): error CS0104: 'MinAttribute' is an ambiguous reference between 'UnityEngine.PostProcessing.MinAttribute' and 'UnityEngine.MinAttribute'

Just to notice.

Yukinyaa avatar Oct 28 '19 23:10 Yukinyaa

Error was on Unity 2018.4.9f1

Yukinyaa avatar Oct 28 '19 23:10 Yukinyaa

Assets\PostProcessing\Editor\PropertyDrawers\MinDrawer.cs(11,13): error CS0104: 'MinAttribute' is an ambiguous reference between 'UnityEngine.PostProcessing.MinAttribute' and 'UnityEngine.MinAttribute'

Just to notice.

Adding

using MinAttribute = UnityEngine.PostProcessing.MinAttribute;

To the top of the script fixed it for me on 2018.4.16f.

JuggaloJesus avatar Sep 09 '21 21:09 JuggaloJesus

Assets\PostProcessing\Editor\PropertyDrawers\MinDrawer.cs(11,13): error CS0104: 'MinAttribute' is an ambiguous reference between 'UnityEngine.PostProcessing.MinAttribute' and 'UnityEngine.MinAttribute'

Just to notice.

Adding

using MinAttribute = UnityEngine.PostProcessing.MinAttribute;

To the top of the script fixed it for me on 2018.4.16f.

Thank you! This worked for me

ZethornDeath avatar Jul 26 '22 19:07 ZethornDeath