Okay, so say I have two objects. One is named Ball1 and the other is Ball2. So in my script I have a “var x = 2;”. So I want to print the word ball and the variable to the console. For example, I want to print, “Ball2” to the console, but I want this line of code:
Debug.Log(“Ball”(x));
Now obviously this isn’t right, but I’m pretty sure you have an idea of what I want to do. Any help?