Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: jess84 on September 12, 2014, 02:14:47 PM

Title: Unity 4.6 - Warning message
Post by: jess84 on September 12, 2014, 02:14:47 PM
Quote
Assets/PlayMaker/Editor/PlayMakerGUIInspector.cs(26,26): warning CS0618: `UnityEditor.EditorGUIUtility.LookLikeInspector()' is obsolete: `LookLikeControls and LookLikeInspector modes are deprecated.'

What do I need to change to stop getting this warning?
Title: Re: Unity 4.6 - Warning message
Post by: Alex Chouls on September 12, 2014, 05:01:08 PM
Open PlayMakerGUIInspector.cs and change:

#if UNITY_4_3 || UNITY_4_5

to:

#if UNITY_4_3 || UNITY_4_5 || UNITY_4_6

This will also  be in the next update.
Title: Re: Unity 4.6 - Warning message
Post by: jess84 on September 12, 2014, 11:38:32 PM
Great, thanks.

I was actually surprised it was just one warning in total, and no errors  :)