Public Transform; Player
- follow player: Mono Behavior {
 - public transform player;
 
public class follow player: Mono Behavior {
public transform player;
void update ()
{
Debug.log (player.position);
}
Under "follow player" you can set the x, y, and z values to a number to arrange where the camera will be centered on the object when it dollies.
Comments
Post a Comment