Author Topic: Get an Object Component's Game Object  (Read 176 times)


  • Sr. Member
  • ****
  • Posts: 274
    • View Profile
    • My Video Game Projects Web Site
Get an Object Component's Game Object
« on: December 06, 2020, 04:59:17 PM »
I couldn't find anything for this. I have 30 TMProUgui's in an array. I use a "array for each" to send a template fsm that processes each entry. in that template fsm I need to take the component and get the game object it is attached to. Some have said to use 'get owner' but that seems to just get the game object the FSM component is attached to. I don't need the game object the template is somehow attached to, I need the game object that has the TMProUgui component attached. The Get owner action has no option to select a an obj component to get the owner of. what am I missing?
« Last Edit: December 06, 2020, 05:01:06 PM by westingtyler »