Rick Posted December 7, 2014 Share Posted December 7, 2014 I have a prefab that has a child. The child has a script attached to it and it seems that child Script:Start() is not getting called. I load with Prefab:Load(prefabName, Map.LoadScripts) All children of the prefab really needs to have their Script:Start() be called when Map.LoadScripts is specified. Link to comment Share on other sites More sharing options...
YouGroove Posted December 14, 2014 Share Posted December 14, 2014 Usually i used one script per prefab only, making scripts on child of a prefab i think is not a good practice or you have to start them from your prefab parent. Stop toying and make games Link to comment Share on other sites More sharing options...
Rick Posted December 14, 2014 Author Share Posted December 14, 2014 Well I would disagree YouGroove. When you get into a pipeline of filling your game nested prefabs is efficient and allows for programmatic functionality. This is a bug because nothing should prevent this and this is NOT considered bad practice. Link to comment Share on other sites More sharing options...
Josh Posted December 19, 2014 Share Posted December 19, 2014 Would it be possible to create a simple example that demonstrates the problem? Otherwise I am not sure I am creating your specific situation. 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 December 19, 2014 Author Share Posted December 19, 2014 Yeah, give me a day or so. Link to comment Share on other sites More sharing options...
Recommended Posts