Coding the position for a space shooter game
Hello, I was wondering if someone could help me understand what is going on. I am currently developing a space shooter game, but once I executed a code to change the position all I see on the game tab is a blue screen. I know it is that one line of code because I then commented it out and then it worked just fine when I ran the game.
The line of code is.
transform.position = new vector3 (0, 0, 0);