void LateUpdate() { if (Input.GetMouseButtonDown(0)) { var mouse_pos = Input.mousePosition; MeshMng.RaycastQuery(MainCamera.ScreenPointToRay(mouse_pos)); } if (Input.GetMouseButton(1)) { UpdateRotation(); } }