Unity修改人物的sheng'c
Unity修改人物的sheng'c
开始代码改变
public GameObject Appearance SnowMiku-2010Prefab;
//找到了
GameObject Appearance SnowMiku-2010 = GameObject.INstantiate(Appearance SnowMiku-2010Prefab);
Appearance SnowMiku-2010.transform.position = this.transform.position;
Appearance SnowMiku-2010.transform.parent = this.transfoem;
//丢失了
Destroy(GameObject.Find(Appearance SnowMiku-2010);
GameObject Aixi = GameObject.Instantiate (AixiPrefab );
Aixi.transform.position = this.transform.position;
Aixi.transform.parent = this.transform;
在图片表面生成物体
Destroy (GameObject.Find ("Aixi(Clone)"));
销毁生成的