Answer the question
In order to leave comments, you need to log in
How to assign array elements through code?
Hello!
My object is worn at five points that are randomly selected one after another and at some point this object is destroyed and a new one appears, but these points are not already marked in the array, since I manually added them through the unit, how can I through code to add unity objects to the array so that the prefab spawns immediately with this "knowledge"?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question