Search Unity

Align game view camera with editor camera in code

Discussion in 'Scripting' started by melonhead, Jun 5, 2020.

  1. melonhead

    melonhead

    Joined:
    Jun 3, 2014
    Posts:
    630
    as the title says, can i move the game view camera to align with the editor camera in a script?

    thank you
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,745
  3. melonhead

    melonhead

    Joined:
    Jun 3, 2014
    Posts:
    630
    i already found that and tried it but the in game camera would not align correctly for some reason