using Blue; using UnityEngine; namespace GHZLangChao { public class InstantiateSystem : SingletonMonobehaviour { [SerializeField] private BlueObject blueObject; public BlueObject BlueObject => blueObject; public GameObject InstantiatePrefab(GameObject prefab, GameObject parent = null) { return Instantiate(prefab, parent.transform); } public GameObject InstantiatePrefab(GameObject prefab, Transform parent = null) { return Instantiate(prefab, parent); } } }