Unity 5.3.7 compiler errors

Announcements, support questions, and discussion for Love/Hate.
Post Reply
lupiks
Posts: 2
Joined: Mon May 01, 2017 1:31 pm

Unity 5.3.7 compiler errors

Post by lupiks »

On Unity 5.3.7 with Love/Hate 1.8.6 I have errors:
Assets/Pixel Crushers/LoveHate/Scripts/Core/Faction Members/Emotions/Editor/EmotionDefinitionDrawer.cs(46,23): error CS1502: The best overloaded method match for `UnityEditor.EditorGUI.MinMaxSlider(UnityEngine.GUIContent, UnityEngine.Rect, ref float, ref float, float, float)' has some invalid arguments
Assets/Pixel Crushers/LoveHate/Scripts/Core/Faction Members/Emotions/Editor/EmotionDefinitionDrawer.cs(46,23): error CS1503: Argument `#1' cannot convert `UnityEngine.Rect' expression to type `UnityEngine.GUIContent'
On Unity 5.5.1 is OK, but I need to fire L/H with 5.3.7. Is any earlier L/H version compatible with 5.3.7? Can I obtain it?
User avatar
Tony Li
Posts: 20525
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unity 5.3.7 compiler errors

Post by Tony Li »

Sorry about that. Unity's Scripting Reference was incorrect about when the API changed for the MinMaxSlider method.

You can download a patch here: Love/Hate Customer Downloads

You'll just need to enter your Asset Store invoice number to access the page.
lupiks
Posts: 2
Joined: Mon May 01, 2017 1:31 pm

Re: Unity 5.3.7 compiler errors

Post by lupiks »

Thank you for the quick reply. Now it works!
User avatar
Tony Li
Posts: 20525
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unity 5.3.7 compiler errors

Post by Tony Li »

Happy to help!
Post Reply