playMaker

Author Topic: unity 5 Errors-activatemultiplegameobjects action  (Read 2970 times)

wheretheidivides

  • Sr. Member
  • ****
  • Posts: 496
unity 5 Errors-activatemultiplegameobjects action
« on: March 07, 2015, 02:17:51 PM »
This actions gives the following errors in unity5.
==========================================
There are inconsistent line endings in the 'Assets/PlayMaker Custom Actions/ActivateMultipleGameObjects.cs' script. Some are Mac OS X (UNIX) and some are Windows.
This might lead to incorrect line numbers in stacktraces and compiler errors. Many text editors can fix this using Convert Line Endings menu commands.


Assets/PlayMaker Custom Actions/ActivateMultipleGameObjects.cs(52,62): warning CS0618: `UnityEngine.GameObject.SetActiveRecursively(bool)' is obsolete: `gameObject.SetActiveRecursively() is obsolete. Use GameObject.SetActive(), which is now inherited by children.'


Assets/PlayMaker Custom Actions/ActivateMultipleGameObjects.cs(54,62): warning CS0618: `UnityEngine.GameObject.active' is obsolete: `GameObject.active is obsolete. Use GameObject.SetActive(), GameObject.activeSelf or GameObject.activeInHierarchy.'


Assets/PlayMaker Custom Actions/ActivateMultipleGameObjects.cs(67,52): warning CS0618: `UnityEngine.GameObject.SetActiveRecursively(bool)' is obsolete: `gameObject.SetActiveRecursively() is obsolete. Use GameObject.SetActive(), which is now inherited by children.'

Assets/PlayMaker Custom Actions/ActivateMultipleGameObjects.cs(69,44): warning CS0618: `UnityEngine.GameObject.active' is obsolete: `GameObject.active is obsolete. Use GameObject.SetActive(), GameObject.activeSelf or GameObject.activeInHierarchy.'

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: unity 5 Errors-activatemultiplegameobjects action
« Reply #1 on: March 08, 2015, 04:27:55 AM »
Hi,

these are not errors, only warnings. Did you get this custom action from the forum or from the ecosystem?

 Bye,

 Jean