transform.position


  • 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

Popular posts from this blog

Scripting

Interface