public class aaaa : MonoBehaviour {
// Use this for initialization
private CharacterController controller;
void Start () {
controller = GetComponent<CharacterController>();
}
// Update is called once per frame
void Update () {
controller.SimpleMove(transform.forward * 5);
}
}
老师我把这脚本挂到巨魔身上巨魔前进不了,挂到box身上box开始运行就能前进这是为什么啊,这问题已经困扰我2天了