playMaker

Author Topic: [RESOLVED] Store Touched Gameobject to variable  (Read 952 times)

firesidegames

  • Playmaker Newbie
  • *
  • Posts: 6
[RESOLVED] Store Touched Gameobject to variable
« 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
« Last Edit: April 16, 2017, 09:19:00 AM by firesidegames »