유니티에서 싱글톤 패턴 사용 public class Singleton : MonoBehaviour { private static Singleton _instance = null; public static Singleton GetInstance() { if (_instance == null) { _instance = FindObjectOfType(typeof(Singleton)) as SingletonDataClass; if (_instance == null) { Debug.LogError("There's no active Singleton Class "); GameObject container = new GameObject(); container.name = "MyClassContainer"; _inst..