Change emisive of material in code 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);