playMaker

Author Topic: Latest really annoying warning messages from playmaker build.  (Read 2363 times)

wheretheidivides

  • Sr. Member
  • ****
  • Posts: 496
    • View Profile
Assets/PlayMaker Custom Actions/uGui/EventSystem/GetLastPointerEventData.cs(221,74): warning CS0618: `UnityEngine.EventSystems.PointerEventData.worldNormal' is obsolete: `Use either pointerCurrentRaycast.worldNormal or pointerPressRaycast.worldNormal'


Assets/PlayMaker Custom Actions/uGui/EventSystem/GetLastPointerEventData.cs(226,76): warning CS0618: `UnityEngine.EventSystems.PointerEventData.worldPosition' is obsolete: `Use either pointerCurrentRaycast.worldPosition or pointerPressRaycast.worldPosition'


Assets/PlayMaker Custom Actions/uGui/uGuiInputFieldOnValueChangeEvent.cs(36,53): warning CS0618: `UnityEngine.UI.InputField.onValueChange' is obsolete: `onValueChange has been renamed to onValueChanged'


Assets/PlayMaker Custom Actions/uGui/uGuiInputFieldOnValueChangeEvent.cs(50,45): warning CS0618: `UnityEngine.UI.InputField.onValueChange' is obsolete: `onValueChange has been renamed to onValueChanged'


Assets/PlayMaker Custom Actions/uGui/uGuiInputFieldScreenToLocal.cs(65,59): warning CS0618: `UnityEngine.UI.InputField.ScreenToLocal(UnityEngine.Vector2)' is obsolete: `This function is no longer used. Please use RectTransformUtility.ScreenPointToLocalPointInRectangle() instead.'

Assets/PlayMaker Utils/Editor/PlayMakerEditorUtils.cs(21,40): warning CS0618: `UnityEditor.EditorApplication.SaveCurrentSceneIfUserWantsTo()' is obsolete: `Use EditorSceneManager.SaveCurrentModifiedScenesIfUserWantsTo'


Assets/PlayMaker Utils/Editor/PlayMakerEditorUtils.cs(45,78): warning CS0618: `UnityEditor.EditorApplication.currentScene' is obsolete: `Use EditorSceneManager to see which scenes are currently loaded'


Assets/PlayMaker Utils/Editor/PlayMakerEditorUtils.cs(55,60): warning CS0618: `UnityEditor.EditorApplication.currentScene' is obsolete: `Use EditorSceneManager to see which scenes are currently loaded'

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15398
  • Official Playmaker Support
    • View Profile
Re: Latest really annoying warning messages from playmaker build.
« Reply #1 on: March 23, 2016, 09:31:58 AM »
Hi,

Thanks for reporting :)

On Which Unity version is this happening? it seem to recall I tackled some of them, what version of uGui do you have? you can find this information in the changelog.md or versionInfo.json within the PlayMaker uGui folder.

Bye,

 Jean

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15398
  • Official Playmaker Support
    • View Profile
Re: Latest really annoying warning messages from playmaker build.
« Reply #2 on: March 24, 2016, 11:34:38 PM »
Hi,

 It seems you have obsolete version of these packages as I refer to the lines of scripts mentionned in the warnings. Can you update them from the Ecosystem and let me know. Thanks.

Bye,

 Jean