Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Main Camera help - I don't know where else to put this

Discussion in 'Scripting' started by MaskyDEV, Nov 27, 2014.

  1. MaskyDEV

    MaskyDEV

    Joined:
    Nov 16, 2014
    Posts:
    10
    So I made a new scene and accidentally removed the main camera, and one of my scripts needs to use the main camera. Does anyone know how I can get it back?
     
  2. Suddoha

    Suddoha

    Joined:
    Nov 9, 2013
    Posts:
    2,824
    Add a camera and assign the tag 'MainCamera' in the inspector.
    You could also rename it to 'Main Camera'. Then it should be the same as if you had a completely new scene.
     
  3. MaskyDEV

    MaskyDEV

    Joined:
    Nov 16, 2014
    Posts:
    10
    Thanks fixed it