Page 1 of 1

SetActive using Tag

Posted: Thu Jul 12, 2018 5:01 pm
by Alatriste
Hi Tony,

I was trying to use the tag command in the sequence but I must be doing something wrong because I cannot make it work. I tried different syntaxes and nothing.

SetActive(tag=test, true)
SetActive("tag=test", true)
SetActive(tag="test", true)
...

Re: SetActive using Tag

Posted: Thu Jul 12, 2018 5:09 pm
by Tony Li
Hi,

Currently, you can use tag= for all sequencer commands except for setting inactive GameObjects active. Later today, I'll post a patch here that will let you set GameObjects active by tag. The syntax will be:

Code: Select all

SetActive(tag=test, true)

Re: SetActive using Tag

Posted: Thu Jul 12, 2018 7:19 pm
by Tony Li
Hi,

The patch is available on the Pixel Crushers customer download site.

Re: SetActive using Tag

Posted: Fri Jul 13, 2018 3:37 am
by Alatriste
Thanks Tony!!