Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: wheretheidivides on March 07, 2015, 02:17:51 PM

Title: unity 5 Errors-activatemultiplegameobjects action
Post by: wheretheidivides 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.'
Title: Re: unity 5 Errors-activatemultiplegameobjects action
Post by: jeanfabre 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