void OnMouseDown() { if (controlScript.canSelectGround) { defaultColor = hightlightColor; rendered.material.color = defaultColor; StartCoroutine(controlScript.SelectedGround(name)); } }
void OnMouseDown() { if (controlScript.canSelectGround) { defaultColor = hightlightColor; rendered.material.color = defaultColor; StartCoroutine(controlScript.SelectedGround(name)); } }