Unity技术分享Unity教程合集

场景视图光线投射

2015-12-17  本文已影响26人  Babybus_Unity

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

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

上一篇下一篇

猜你喜欢

热点阅读