playMaker

Author Topic: Playmaker CS script warnings  (Read 1958 times)

wheretheidivides

  • Sr. Member
  • ****
  • Posts: 496
Playmaker CS script warnings
« on: January 12, 2015, 04:31:03 PM »
I get 2 errors in the console.  Are these safe to delete as I can't stand having errors always popping up.  Also, can these be updated to get rid of the warnings?

1) Assets/PlayMaker/PlayMaker Comms Tool/Editor/PlayMakerCommsToolWindow.cs(51,42): warning CS0219: The variable `window' is assigned but its value is never used

2) Assets/PlayMaker/Editor/PlayMakerGUIInspector.cs(26,26): warning CS0618: `UnityEditor.EditorGUIUtility.LookLikeInspector()' is obsolete: `LookLikeControls and LookLikeInspector modes are deprecated.'

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playmaker CS script warnings
« Reply #1 on: January 13, 2015, 02:50:44 AM »
Hi,

 They are totally harmless, and I agree, annoying :)
 
 For PlayMakerCommsToolWindow, edit the file and delete that variable since it's not used. I think this script was done by a member of the community, so maybe you could get in touch with the author.

For the PlayMakerGUIInspector, yes, the warning will go away as Playmaker release updates. Are you sure you have the latest version of PlayMaker

Bye,

 Jean

wheretheidivides

  • Sr. Member
  • ****
  • Posts: 496
Re: Playmaker CS script warnings
« Reply #2 on: January 13, 2015, 03:03:47 AM »
I have playmaker 1.77f6