if 'transform.position = player.position' is applied to a main camera on the code sheet under "void update", the main camera snaps to the object as soon as the game starts
changes the position of the player you can add 'player.position' to bring it a player's position in your game ex: transform.position = player.position if applied to a main camera, the main camera snaps to the object as soon as the game starts
Comments
Post a Comment