Quantcast
Channel: Answers for "Instantiate prefab and Add to a Generic List"
Viewing all articles
Browse latest Browse all 4

Answer by delVhar

$
0
0
This could be caused by the execution order of the scripts. Try making the impactDecalsList script a higher priority in the execution order. (http://docs.unity3d.com/Documentation/Components/class-ScriptExecution.html) The other possibility is that impactDecalsList is never actually getting set correctly, can you see its value change to the correct object when rinning in the editor? Make sure impactDecalsContainer is set to the right GameObject.

Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>