<Unity3D>实例化UGUI中GameObject 并设置它的位置
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class ItemInfo : MonoBehaviour {
public GameObject prefab;//预设体
void Start()
{
GameObject pre = new Gam
原创
2015-06-30 16:34:02 ·
8525 阅读 ·
0 评论