Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: inyourbus on June 27, 2015, 10:57:25 AM

Title: [SOLVED] Is there a way to use the Event system method SetSelectedGameObject?
Post by: inyourbus on June 27, 2015, 10:57:25 AM

Is there a way to use the Event system method SetSelectedGameObject?


http://docs.unity3d.com/460/Documentation/ScriptReference/EventSystems.EventSystem.SetSelectedGameObject.html (http://docs.unity3d.com/460/Documentation/ScriptReference/EventSystems.EventSystem.SetSelectedGameObject.html)

It asks for two parameter so I can't use (Script Control) send message as it only allows you to send one parameter at a time.


I have tried using get property on the Event system but the function is not public.


Any known way that I can call this method?

Title: Re: Is there a way to use the Event system method SetSelectedGameObject?
Post by: terri on June 27, 2015, 12:18:57 PM
you're in luck!
http://hutonggames.com/playmakerforum/index.php?topic=8452.msg50082#msg50082
Title: Re: Is there a way to use the Event system method SetSelectedGameObject?
Post by: inyourbus on June 27, 2015, 12:43:37 PM
Happy days!


Thanks terri you saved me!


 ;D ;D ;D ;D ;D ;D ;D ;D


That needs to go into the Eco System, Tested and it works like a charm.