实例化物体:
private Transform startPoint;
public GameObject piPrefab;
void Start()
{
startPoint = GameObject.Find("startPoint").transform;
}
实例化物体:
private Transform startPoint;
public GameObject piPrefab;
void Start()
{
startPoint = GameObject.Find("startPoint").transform;
}