Search Unity

  1. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  4. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Camera moves to wierd pos after i hit play.

Discussion in 'Documentation' started by Gweini, Sep 2, 2018.

  1. Gweini

    Gweini

    Joined:
    Sep 2, 2018
    Posts:
    1
    upload_2018-9-2_20-46-52.png upload_2018-9-2_20-47-47.png upload_2018-9-2_20-48-3.png
    anyone see the problem?
    btw, i've never used unity b4..
     
  2. lipisis

    lipisis

    Joined:
    Jan 14, 2017
    Posts:
    14
    I don't see the problem. In Update method you are updating position of your camera as I understand by the name of the script. So it doesn't matter what is the initial position of your camera, it gets overwritten by Update method whenever you run it.