Edit Prefabs components within List and arrays.
I will start off by saying i am fairly new to unity but am almost finished with my associates in computer programming. I'm having a bit of trouble understanding the way prefabs work once you make copies of them or just manually insert them into list or arrays. Would they then work like multidimensional arraylist or have the need to be referenced to edit features unique to them.
The scenario i am in is creating a card deck out of a prefab. I am attempting to make a copy/instance of that prefab into an array/list but that![alt text][1] texten be able to change the features,name and image, when only given said array/list. The array/list being made for gameobjects.
Another question i have is a recommendation about randomization. I can easily create a array to array randomiser but not sure how to go about it for a list. Should i create 2 list, one for starting one for the transfer of data that has been randomised. This is the reason for the prefab question. Does making the gameobject prefabs into an array or list make an impact on changing the structure/data of that said prefabs' copy/instance?
Below are two photos with a bit of context. The first is showing me using copies of a prefab with the name pre-changed and the randomizer working fine. I would like to know if this can be done in code using only one prefab and a list. The second photo shows the parts of the info to be shown on the prefab that i would like to know if i can change once instantiated. There are more variables in the inspector that i would need to changes as well but do not know how to access this information in code.
I should add that in this process i am using two separate classes. One to hold the card information of the prefab to allow optimization on all things needed for that and another for the deck to allow shuffling, drawing and more.