Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Changing Game View background color

Discussion in 'Editor & General Support' started by pion, Jul 11, 2011.

Thread Status:
Not open for further replies.
  1. pion

    pion

    Joined:
    Jul 7, 2011
    Posts:
    27
    I am using Unity 3.3. The Game View background color is blue by default.

    How do I change its background color?

    Thanks in advance for your help.
     
    _protagonist likes this.
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Change the background color in the camera.

    --Eric
     
  3. Ultimumlord

    Ultimumlord

    Joined:
    Dec 13, 2013
    Posts:
    1
    How to change the background color in the camera, other than using the color picker?
     
    Last edited: Dec 13, 2013
  4. sirgarth13

    sirgarth13

    Joined:
    Dec 4, 2013
    Posts:
    1
    Camera.main.backgroundColor
    Should give you access to get and set the background colour of the display, hope it helps
     
  5. vokuwalle

    vokuwalle

    Joined:
    Sep 16, 2016
    Posts:
    1
    immediately i lunched unity,it displayed a pink scene.How do i change the pink to black
     
  6. zenchip

    zenchip

    Joined:
    Aug 1, 2017
    Posts:
    3
    Locate the "Hierarchy" window then click on "My Camera" then in the "Inspector" window, under the "Camera" section, you have the "Background" field. Click on the color rectangle to the right (it's default color is blue) to change the color.
     
    Last edited: Aug 2, 2017
Thread Status:
Not open for further replies.