예제 #1
0
    public static bool Raycast(float fDistance, int Mask)
    {
        if (null == Camera.main)
        {
            return(NkRaycast.SetHitFaile());
        }
        Ray ray = Camera.main.ScreenPointToRay(NkInputManager.mousePosition);

        return(NkRaycast.UpdateRayCast(ray, fDistance, Mask));
    }
예제 #2
0
 public static bool Raycast(Ray ray, float fDistance, int Mask)
 {
     return(NkRaycast.UpdateRayCast(ray, fDistance, Mask));
 }