playMaker

Author Topic: Set Object Value - regarding the sprite renderer  (Read 265 times)

2501

  • Playmaker Newbie
  • *
  • Posts: 9
    • View Profile
Set Object Value - regarding the sprite renderer
« on: October 01, 2018, 07:28:37 AM »
Hi!

Shouldn't I be able to use Set Object Value to load a GAME OBJECT VARIABLE into an OBJECT VARIABLE? I can do it with drag and drop from the hierarchy, but even then, when I try to use a game object variable instead, I can only pick an object variable.

Of course, I might be on the wrong track anyway - so here's what I'm trying to do: I want to check if the sprite renderer of a game object inside a list is active or not. I can't just use check visibility, because some of the objects are outside the cameras view. Any other way?


thanks,

J.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4192
    • View Profile
    • jinxtergames
Re: Set Object Value - regarding the sprite renderer
« Reply #1 on: October 01, 2018, 11:21:40 PM »
Hi.
You can use get component to get the component you need to check.

Then i made a custom action to check if active called : ComponentIsActive

you can get it on the Ecosystem

2501

  • Playmaker Newbie
  • *
  • Posts: 9
    • View Profile
Re: Set Object Value - regarding the sprite renderer
« Reply #2 on: October 02, 2018, 01:01:57 AM »
Thank you!