using UnityEngine; namespace Blue { 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); } } }