public void Select() { gameObject.GetComponent <Renderer>().materials[1].color = colors[2]; isSelect = true; gameGUI.SelectedObject(1, this); }