Question by
Cognokill · Jan 24, 2016 at 01:15 PM ·
scripting problem
Resolving a problem.
I want the computer automatically create a number given of arrays, how can I do that without inizializing every variable?
example:
how can I not do this?
public string[] DNA1;
public string[] DNA2;
public string[] DNA3; ...
I want to say to the computer "create me this number of arrays with name "DNA" + numberOfTheArray.
Comment
Your answer
Follow this Question
Related Questions
Gradually changing the light intensity by clicking the mouse 0 Answers
How can i make my spaceship to land automatic on the Base ? 1 Answer
How to move a kinematic rigidbody with touch? 0 Answers
script delay ("on mouseclick") 0 Answers
New Vector2 won't take effect when called from another script in the same GameObject. 0 Answers