- using Blue;
- using UnityEngine;
- public class InstantiateSystem : SingletonMonobehaviour<InstantiateSystem>
- {
- [SerializeField] private BlueObject blueObject;
- public BlueObject BlueObject => blueObject;
- public void InstantiatePrefab(GameObject prefab)
- {
- Instantiate(prefab);
- Debug.LogError(prefab.name);
- }
- }
|