Hi! I’ve been playing around with the scripting in unity and I’m looking to just print the locations of game objects that are instantiated from a prefab in the game. The game is just a big open field where i can run around and spawn cubes by right clicking! I would like to (just in the debug log) print out the transform location of every cube the player has spawned.
Here’s a fun image of the game:
You see when I press save it does save the player location and then it loads the player at the location it saved… Now im going to do the same with the cubes instantiated in the scene, but of course first i need to print the transform locations of the cubes to the Debug.Log()
Any help would be greatly appreciated! THANKS!!!