摘要: //使用List需添加的命名空间using System.Collections.Generic; //声明元素类型为int类型的List容器 //ToolPic用于盛放图片 public List<GameObject> ToolPic2 = new List<GameObject>(); //T 阅读全文
posted @ 2016-07-02 11:57 CocomoNo1 阅读(294) 评论(0) 推荐(0) 编辑
摘要: Object.Instantiate Object.Instantiate public static Object Instantiate(Object original); public static Object Instantiate(Object original, Vector3 pos 阅读全文
posted @ 2016-07-02 10:41 CocomoNo1 阅读(172) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine;using System.Collections;public class LookForPath : MonoBehaviour{ public Transform[] TargeArr; public bool isBool=false; int i = 0; 阅读全文
posted @ 2016-07-02 09:57 CocomoNo1 阅读(290) 评论(0) 推荐(0) 编辑