public void OnPointerClick(PointerEventData data)
{
if (GetComponent<Renderer>() != null)
GetComponent<Renderer>().material.color = new Color(Random.value, Random.value, Random.value, 1.0f);
else if (GetComponent<Light>() != null)
GetComponent<Light>().color = new Color(Random.value, Random.value, Random.value, 1.0f);
}