using System.Collections; using System.Collections.Generic; using UnityEngine; public class Spawner : MonoBehaviour { public GameObject SpawnGo; void Start() { UnityEngine.Debug.Log("¿ªÊ¼¸´ÖƹÒÔØµÄGameObject"); GameObject.Instantiate(SpawnGo, this.transform); } }