When I try to create objects by name.
I tired to
1.create object with a name refrenece.
2.get a object from a array.
Both of the way is impossible.
Is there any good way to get some randomized object?
By the time I just could write many conditions and set the refrence to a variable one by one.This was uneffient for design and both for running.