Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: firesidegames on April 16, 2017, 08:00:45 AM

Title: [RESOLVED] Store Touched Gameobject to variable
Post by: firesidegames on April 16, 2017, 08:00:45 AM
I'm trying to cleanup my game logic and would like to store the object touched into a gameObject variable. Currently i'm using the 'Touch Event' action, but this does not allow for the storing the gameObject itself.

Could someone please suggest an action that can do this, or perhaps lead me into the direction of come code i could add to the current action so it can do this. I have a basic understanding of C# so any direction would help immensely.

update*
I was able to resolve this by following the advice from this post: http://hutonggames.com/playmakerforum/index.php?topic=2091.0