mouse touch object マウスでオブジェクトに触れたことを検知

function OnMouseEnter () {
    renderer.material.color = Color.red;
}
//attach this script to cube or so.