Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: thatnzguy on June 30, 2015, 04:40:48 PM

Title: Get owning GameObject from component
Post by: thatnzguy on June 30, 2015, 04:40:48 PM
I have a custom action that returns a component on a gameobject, is it possible to get the GameObject from the component, within playmaker ?

I've tried Get Property, but there appears to be no Owner or GameObject property on the component
Title: Re: Get owning GameObject from component
Post by: jeanfabre on July 02, 2015, 08:56:37 AM
Hi,

 there is an action "Get Owner" that does just that. youc an study the code itself to see about the api call if you want to create your own action or a component using this PlayMaker feature.

Bye,

 Jean