Quantcast
Channel: Answers for "Cant instantiate from one list to another?"
Browsing latest articles
Browse All 4 View Live

Answer by CHPedersen

You're getting this error because you're trying to feed Instantiate a list of prefabs, and there is no overload that takes as input a whole list. See its documentation at:...

View Article



Answer by Roland1234

You forgot to index your *prefabs* list so are instead attempting to pass an entire list to the *Instantiate* method, which only accepts *Object* references - like this: void Start () { for(int i = 0; i

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images