unity camera background set to sprute code example
Example: unity background camera
using UnityEngine;
using System.Collections;
public class Myclass: MonoBehaviour
{
public Color Red = Color.red;
public Camera cam;
void Start()
{
}
void Update()
{
cam.backgroundColor = Red;
}
}