摘要:
public Transform pos; public Transform pos1; public float value = 0; public float value1 = 0; //坐标和值 // Update is called once per frame void Update() 阅读全文
posted @ 2020-05-25 00:46
手札记
阅读(1420)
评论(0)
推荐(0)
摘要:
第一 计算两点之间的距离或者向量的长度 float dis = (transform.position - player.position).sqrMagnitude 第二 绝对值 Mathf.Abs(); 第三 匀速移动 Vector3.MoveTowards(); 阅读全文
posted @ 2020-05-25 00:37
手札记
阅读(571)
评论(0)
推荐(0)

浙公网安备 33010602011771号