logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

unity机器人视野监测及寻路路径

以下为robot部分代码,其中具有robot检测player的功能,比较路径长度与检测距离问题。注释,,void Start(){seedir = 110f;//机器人视野角度数alertposition =Vector3.zero;animplayer = GameObject.FindGameOb...

#unity
Unity中几个延迟等待后运行函数的方法

转自—Instagram老王大大1.- Update函数 实现定时器float m_timer = 0;void Update(){m_timer += Time.time;if (m_timer >= 5){ShowB();m_timer = 0;}}private void ShowB(){...

#unity
到底了