摘要:
using UnityEngine;using System.Collections;using System; public class Move : MonoBehaviour { Transform head; public float speed = 10f; Rigidbody self; 阅读全文
摘要:
都有钢体 OnCollisionEnter 进入碰撞方法体 OnCollisionExit 结束碰撞方法体 OnCollisionStay 碰撞进行时方法体 OnTriggerEnter 碰撞体进入 (触发开始) OntriggerExit 碰撞体退出 (触发结束) OntriggerStay 碰撞 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;using System.Threading.Tasks; namespace Conso 阅读全文
摘要:
using UnityEngine;using System.Collections; public class Movefollo : MonoBehaviour { Transform _player; Vector3 f; // Use this for initialization void 阅读全文
摘要:
using UnityEngine;using System.Collections; public class Move : MonoBehaviour { Transform _player; // Use this for initialization void Start () { _pla 阅读全文