playMaker

Author Topic: GameObject to Object  (Read 4091 times)

Andrew.Lukasik

  • Full Member
  • ***
  • Posts: 134
    • View Profile
    • my twitter @andrewlukasik
GameObject to Object
« on: December 04, 2011, 06:19:28 PM »
Ability to convert GameObject to Object (or simply set Object not only via drag&drop) is missing and still very important.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15373
  • Official Playmaker Support
    • View Profile
Re: GameObject to Object
« Reply #1 on: December 05, 2011, 12:50:59 AM »
Hi,

 What exactly are you after when converting a gameObject to Object?

 also, drag and drop is one way, the other way is via the normal unity selector window. Or mabye I do not understand your questoin properly... :)

 Bye,

 Jean

dasbin

  • Junior Playmaker
  • **
  • Posts: 92
    • View Profile
Re: GameObject to Object
« Reply #2 on: February 01, 2012, 06:55:37 PM »
Hello,

I would also very much like the ability to Get an Object.

I think this is what he is asking for.

PlayMaker has the ability use an Object variable, and some Actions require an Object instead of a GameObject (ie Set Property).

But there is no way to Get an Object and store it in a variable! Should be a very basic function.

Just want to Get the Object owner of a GameObject, and store that Object inside an Object Variable. That's it.

Andrew.Lukasik

  • Full Member
  • ***
  • Posts: 134
    • View Profile
    • my twitter @andrewlukasik
Re: GameObject to Object
« Reply #3 on: February 02, 2012, 04:39:34 AM »
I didn't knew how to explain this then but in meantime Alex solved my problem yet by adding action called "Get Component"
it's available here:
http://hutonggames.com/playmakerforum/index.php?topic=910.0
Thanks!
« Last Edit: February 02, 2012, 04:51:02 AM by Andrew_Raphael_Lukasik »