Hello everyone,
I believe my question says it all, but I need to be able to edit several strings/ints the I created in scripts that are attached to the clone. i.e, I have a prefab to clone, the prefab has a script with variables, and I want to be able to access and edit those variables via another script. My end goal is to be able to save data in a string, then as per that string (maybe "J, L, P") I could instantiate 3 clones. Clone #1would read J, clone #2 would read L, etc. So, I need to edit the variables attached to the clone so they actually read the string. I know this is a long and complicated question, so comment if you need more details.
Sincerely,
Wolfshadow.
↧