playMaker

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

2501

  • Playmaker Newbie
  • *
  • Posts: 14
Set Object Value - regarding the sprite renderer
« on: October 01, 2018, 10: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: 7616
    • jinxtergames
Re: Set Object Value - regarding the sprite renderer
« Reply #1 on: October 02, 2018, 02:21:40 AM »
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: 14
Re: Set Object Value - regarding the sprite renderer
« Reply #2 on: October 02, 2018, 04:01:57 AM »
Thank you!