This function is not called on objects that belong to Ignore Raycast layer .
当物体属于忽略“光线投射”层,此函数不会调用。