Rick Posted April 7, 2013 Share Posted April 7, 2013 When I load in a prefab that is made up of multiple models via lua code, I notice it has a kids table, which has objects in there that I assume are parts of the prefab, but every time I assess kids it tells me it's nil. How do we access the parts of a prefab in lua via this kids table? Quote Link to comment Share on other sites More sharing options...
Josh Posted April 7, 2013 Share Posted April 7, 2013 Entity::CountChildren and Entity::GetChild. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Rick Posted April 7, 2013 Author Share Posted April 7, 2013 Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.