Jump to content
Sign in to follow this  
jakerod

Execute Script Across Trigger Area

Recommended Posts

It isn't working because _list is an array of objects while "Land_House_L_1_EP1" is a string (in this case a classname). You simply can't use the in command for something like this. Instead use a forEach loop that checks the typeOf every element in _list and compares it to the desired classname.

Share this post


Link to post
Share on other sites

ninja'd with my edit.... but yes. Sit and think for a minute.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×