摘要:
在unity中实现物体移动的方法有很多种,本文将介绍7种不同的实现方法,可自行参考效果 1. Set Position 方法 public Transform targetTansform; In Update/FixedUpdate: this.transform.position = targe 阅读全文
摘要:
使用编辑器Unity2021 1.创建物体 Plane+Cube 2.创建脚本 Love.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class Love : Mon 阅读全文