Hi Master of Playmaker
I'm trying to replicate the key manager into a light manager so when the player is triggering a cube for example he will loose some light or gain some
So my problem is that i can't find the light inside the hierarchy to be trigger
Hey Emmanuel!
So when doing something like that- the easiest way is yeah to have the object as a child of the object with the fsm on it- if you can't do that-
you can have an array on the main object with the light as a game object in that- then you could just use an array get to get it
you can use a find action- like find object and find the light by name or tag- there are actions for both-
You could make the light a global variable and use that-
Those are a few ideas-
Perfect
Thanks it is working perfect now