![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Unity
龚子亦
计算机研究生,努力学习,有啥问题欢迎私信
展开
-
Unity实现简单自动寻路,自动导航
/获取组件 agent = GetComponent < NavMeshAgent >();//如果鼠标进行点击 if(Input . GetMouseButtonDown(0)) {//获取射线 Ray ray = Camera . main . ScreenPointToRay(Input . mousePosition);//判断射线检测是否成功 if(Physics . Raycast(ray , out hit)) {} } } }原创 2023-06-08 11:12:27 · 1685 阅读 · 1 评论 -
Unity 生命周期方法调用时间
【代码】Unity 生命周期方法调用时间。原创 2023-06-01 20:24:39 · 218 阅读 · 0 评论 -
如何导入Unity网页端资源商店的资源
如何导入Unity网页端资源商店的资源原创 2022-07-05 22:33:22 · 3271 阅读 · 4 评论