08 2024 档案
摘要:速览 Lerp用于插值,可以和协程配合用于移动。SmoothDamp是阻尼移动,从不超过。MoveTowards是匀速移动,也不会超过。 方案1,使用Lerp——先快后慢运动(线性衰减) (不好用✖) Lerp最简单的用法如下: void Update(){ transform.position =
阅读全文
摘要:客户端去连接公网ip,端口为公网端口 C#测试代码如下:服务器: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using
阅读全文
浙公网安备 33010602011771号