#setactive to hirearchy object

1 messages · Page 1 of 1 (latest)

wise rune
#

i want it to enable an object from the hirearchy but idk how to put the object in the thing that says "this" cus it shows assets and not hirearchy. i also cant drag anything into the graph

#

mybad if this is super simple i am not the smartest individual

fresh hound
#

you need to create a variable gameobject that you set in the gameobject

#

either that or a scene variable

wise rune
#

so i click on an object in the hirarchy and add a variable

fresh hound
#

the hierarchy is where you put gameobject

wise rune
#

i made the variable now how do i make it show up in assets

fresh hound
#

its not in asset

#

you need to get that variable by dragging it into the graph

wise rune
#

oh ywah its there

#

whats this whole thing that says "this"

fresh hound
#

this means you are getting it from the gameobject that the macro is on

wise rune
#

so like this?

fresh hound
#

no that is set variable, use get variable

wise rune
#

yay i did it

#

i understand it now

fresh hound
#

okay good

#

i'm happy ive helped you