Set emission color unity code example
Example: unity change emission color script
Material mymat = GetComponent<Renderer>().material; mymat.SetColor("_EmissionColor", Color.red);
Material mymat = GetComponent<Renderer>().material; mymat.SetColor("_EmissionColor", Color.red);