场景视图光线投射

作者: Babybus_Unity | 来源:发表于2015-12-17 16:06 被阅读26次

    //create a ray to get where we clicked in the scene view and pass in mouse position

    Ray worldRay = HandleUtility.GUIPointToWorldRay(Event.current.mousePosition);

    相关文章

      网友评论

        本文标题:场景视图光线投射

        本文链接:https://www.haomeiwen.com/subject/ujdphttx.html