2022/09/15 6

[Unity/Sprite Atlas] 3D 프로젝트에서 Sprite Altas 사용에 대한 생각

유니티 최적화를 위해서 아틀라스를 사용해보려고 했다. 시도는 해보았으나 Batch는 전혀 줄지 않았다. (파티클 텍스쳐나 world space UI로 Test 진행) Sprite Atlas 의 사용 목적은 드로우콜을 줄이는 것이므로 3D 프로젝트에서 사용하는 것은 부적절하는 것을 알았다. Sprite Atlas 는 2D 프로젝트에서 사용하는 것은 기본이고 3D 프로젝트에서 사용한다면 UI에 사용하면 좋지 않을까

Unity/잡학 사전 2022.09.15

[Unity] Create > SpriteAtlas 또는 유니티 아틀라스 없음 해결방법

Sprite Atlas 를 검색하다보면 Assets > Create > Sprite Atlas 를 하라고 하는데Unity 2020 이상의 버전을 쓰는 나에게는 보이지 않았다. 해결방법1. Window - Package Manager2. 왼쪽 상단에 있는 Packages: Unity Registry 로 변경한다3. 오른쪽 상단에 있는 검색창에 '2d sprite' 입력4. 오른쪽 하단에 있는 install을 누르면 된다.5. 이후 Assets > Create > 2D > Sprite Atlas 를 생성할 수 있게 된다. 사용한 버전Unity 2020.3.32f1

Unity/문제 해결 2022.09.15

게임 개발 스터디 7 : UI Builder에서 ObjectField 외에도 Library Controls 추가하는 방법

UI Builder 에서는 ObjectField를 만드는 것은 아직 추가가 안된줄 알았는데 Unity Forum에서 방법을 찾았다!!https://forum.unity.com/threads/what-is-the-updated-way-to-add-an-object-field-now.957878/ Question - What is the updated way to add an object field now?It's been a while since the last time I worked with UIElements and now I can't add an object field like I used to. Any help is appreciated.forum.unity.com 1. UI Toolkit에서 ..