摘要: using UnityEngine;using System.Collections;using System; public class Move : MonoBehaviour { Transform head; public float speed = 10f; Rigidbody self; 阅读全文
posted @ 2017-11-07 09:05 0null0 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 都有钢体 OnCollisionEnter 进入碰撞方法体 OnCollisionExit 结束碰撞方法体 OnCollisionStay 碰撞进行时方法体 OnTriggerEnter 碰撞体进入 (触发开始) OntriggerExit 碰撞体退出 (触发结束) OntriggerStay 碰撞 阅读全文
posted @ 2017-11-06 11:13 0null0 阅读(248) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;using System.Threading.Tasks; namespace Conso 阅读全文
posted @ 2017-10-31 20:48 0null0 阅读(185) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine;using System.Collections; public class Movefollo : MonoBehaviour { Transform _player; Vector3 f; // Use this for initialization void 阅读全文
posted @ 2017-10-31 20:30 0null0 阅读(388) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine;using System.Collections; public class Move : MonoBehaviour { Transform _player; // Use this for initialization void Start () { _pla 阅读全文
posted @ 2017-10-31 20:28 0null0 阅读(1431) 评论(0) 推荐(0) 编辑