[1분 해결] 유니티(unity) 싱글톤 구현 구현 public class NFCHelper : MonoBehaviour { private static NFCHelper instance = null; void Awake() { if (null == instance) { instance = this; DontDestroyOnLoad(this.gameObject); } else { Destroy(this.gameObject); } } public static NFCHelper Instance { get { if (null == instance) { return null; } return instance; } } public void Test(){ } } 사용 NfcHelper.Instance.Test() 태..
오류메세지 TLS Allocator ALLOC_TEMP_THREAD, underlying allocator ALLOC_TEMP_THREAD has unfreed allocations 메세지 발생 해결 방법 Unity in Assets -> Reimport All 참조링크 https://www.reddit.com/r/Unity3D/comments/75syxl/solved_tls_allocator_alloc_temp_thread_underlying/ [Solved] TLS Allocator ALLOC_TEMP_THREAD, underlying allocator ALLOC_TEMP_THREAD has unfreed allocations Using: Unity 2017.1.0f3 I had switched my..