Unity 연구/잡다한연구 맨텀 2023. 2. 24. 21:11
이전 글 2023.02.23 - [Unity 연구/잡다한연구] - 유니티 DOTS 연구1 : Burst Compiler (버스트 컴파일러) Job System 앞서 살펴본 대로 잡 시스템은 유니티 환경에서 멀티 쓰레드를 안전하게 사용하기 위해 만들어진 기능이다. 버스트 컴파일러와 같이 사용하면 성능 개선을 기대할 수 있다. 유니티 콘솔을 사용해 디버깅도 가능하다는 것이 장점. NativeContainer라는 공유 메모리 타입을 사용하기 때문에 Race Condition 문제를 방지한다. 단일 Job 기본 사용법 1. IJob을 구현하는 struct를 만든다. Job을 사용하면 실행 중인 다른 잡과 병렬로 실행되는 단일 잡을 예약할 수 있다. - (버스트 컴파일러 사용 시) BurstCompile 애트리뷰..
Unity 연구/잡다한연구 맨텀 2023. 2. 23. 18:48
사실 Burst는 1.0을 지원한 지 꽤 된 기술이지만, 구체적으로 필요성을 못 느껴서 계속 공부할 생각을 안 하고 있다가 면접 질문으로 나와서 정리하고자 한다. DOTS(데이터 지향 프로그래밍) 유니티의 고성능 멀티스레드를 위해 새롭게 제시된 패러다임. ECS(Entity Component System) C# JobSystem Burst Compiler DOTS를 위해 새롭게 생긴 위 세 가지 기능이 세트처럼 같이 언급되는데, 위의 것들을 동시에 사용하면 시너지가 난다는 의미지 세 가지 중 한 두개만 따로 써도 전혀 문제가 없다고 한다. Entity는 아직 Preview상태지만 JobSystem이랑 Burst Compiler는 정식 기능이 되었기 때문에 충분히 활용 가능하다. 즉, 현재 시점 (유니티 ..
Unity 연구/BGDatabase 맨텀 2022. 5. 10. 00:24
#. 에셋스토어 링크 https://assetstore.unity.com/packages/tools/integration/bg-database-112262?aid=1101l7zGS BG Database | 기능 통합 | Unity Asset Store Use the BG Database from BansheeGz on your next project. Find this integration tool & more on the Unity Asset Store. assetstore.unity.com https://www.bansheegz.com/BGDatabase/CodeGeneration/ BGDatabase에서 가장 강력한 기능. 데이터에 빠른 접근이 가능하도록 CodeGeneration이라는 것을 지원합..
#. 에셋스토어 링크 https://assetstore.unity.com/packages/tools/integration/bg-database-112262?aid=1101l7zGS BG Database | 기능 통합 | Unity Asset Store Use the BG Database from BansheeGz on your next project. Find this integration tool & more on the Unity Asset Store. assetstore.unity.com 이번에는 데이터 소스로 구글 스프레드 시트를 사용하고 기본적인 익스포트와 임포트 설정을 하도록 합시다. #. Export/Import 설정 1) BG Database 윈도우를 열고, Export/Import 탭을 ..
#. 에셋스토어 링크 https://assetstore.unity.com/packages/tools/integration/bg-database-112262?aid=1101l7zGS BG Database | 기능 통합 | Unity Asset Store Use the BG Database from BansheeGz on your next project. Find this integration tool & more on the Unity Asset Store. assetstore.unity.com 기본적인 설정을 했으니 먼저 에디터 내에서 데이터 다루어봅시다. #. Meta 기본 설정 하기 BGDatabase의 Configuration탭에서 Metas를 설정할 수 있습니다. 1) Configuration 탭..
#. 에셋스토어 링크 https://assetstore.unity.com/packages/tools/integration/bg-database-112262?aid=1101l7zGS BG Database | 기능 통합 | Unity Asset Store Use the BG Database from BansheeGz on your next project. Find this integration tool & more on the Unity Asset Store. assetstore.unity.com BGDatabase가 초기 버전에 비해 꽤 바뀐 부분이 많아졌기에 현재 버전(1.7.5)에 맞춰 설명을 다시 포스팅합니다. #. 데이터 베이스 생성 1) Window - BGDatabase를 눌러서 윈도우를 엽니다..