CameraClearFlags.SkyboxCameraClearFlags.SkyboxDescriptionClear with the skybox. If a skybox is not set up, the Camera will clear with a backgroundColor. See Also: Camera.clearFlags property, camera component, Render Settings.
JavaScripts
using UnityEngine;
using System.Collections; public class example : MonoBehaviour { void Awake() { camera.clearFlags = CameraClearFlags.Skybox; } } import UnityEngine
import System.Collections class example(MonoBehaviour): def Awake(): camera.clearFlags = CameraClearFlags.Skybox |
