摘要: using UnityEngine;using System.Collections;public class node : MonoBehaviour { public int index; public GameObject target;// 手按的物体 public Vector3 v; public GameObject pre,obj; public GameObject closeobj; public GameObject[] gos; public createAnt ca; private float distance=999... 阅读全文
posted @ 2013-11-13 23:56 小薇林 阅读(660) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine;using System.Collections;public class Test : MonoBehaviour { public GameObject pre; public GameObject obj; public GameObject node;//记录最近点 public GameObject sf ;//self private Vector3 v; private float time; public GameObject[] gos; //最近的物体 private Gam... 阅读全文
posted @ 2013-11-13 22:28 小薇林 阅读(185) 评论(0) 推荐(0) 编辑