public void On() { PanelRep.TurnOn(); spotlightColor = SetVValue(OriginalColor, dim); spotlightMat.SetColor("_EmissionColor", spotlightColor); spotlightIMat.SetColor("_EmissionColor", spotlightColor); }