예제 #1
0
 private void GetFacing()
 {
     mousePointInWorld = RayToGroundUtil.FetchMousePointOnGround(0f);
     pointInWorld      = new Vector3(mousePointInWorld.x, handTransform.position.y, mousePointInWorld.z);
     if (pointInWorld != Vector3.zero)
     {
         RotateHands(pointInWorld);
     }
 }
 public void FixedUpdate()
 {
     mousePointInWorld = RayToGroundUtil.FetchMousePointOnGround(0f);
 }