Add items from array to another array by parameter value
Hello.
What I have:
I have "Script A", that has array of instantiated game objects, with one randomized int parameter. "Script B" that has array of gameobjects, that get it's gameobjects from array in "ScriptA".
What I try to do: I want to store objects from array in "ScriptB" with specific value of that int to another array in "ScriptB".
Please Help.) I'm googling hard for almost 5 days without good results.(
Comment