XREAL-SNU / XVerse

XVerse
2 stars 1 forks source link

AssetLoader #8

Open AliceOfSNU opened 2 years ago

AliceOfSNU commented 2 years ago

현재 상황

해야 할 일

Check Description
Addressable Tutorial Watch youtube tutorial
Detailed Documentation Unity 공식 페이지
AliceOfSNU commented 2 years ago

commit 1 : Addressable 을 테스트하기 위해, 다음 스텝을 따라하실 수 있습니다.

  1. windows > Asset Management > addressables에서 groups 와 profiler창을 엽니다.
  2. groups 에서 roomLevel 그룹을 더블클릭하여 inspector 의 settings 칸에서 아래 사진의 오른쪽에 보이는 셋팅 파일을 찾습니다
  3. 사진에 보이는대로, 파란색으로 마킹한 부분을 설정하고(profiler events설정은 사진과 달리 체크마크 표시할것), 특히 remote build, load path는 각각 build시에 해당 addresssable들을 빌드할 경로, 그리고 원격 파일저장소 (s3 나 localhost, express endpoint) 로 설정합니다
  4. 이 설명이 부족할 수 있으므로, 코밋 메시지와, 위 이슈 메시지의 tutorial 과 documentation 을 참고하세요
  5. 일시정지 버튼을 누른 상태에서 game 을 시작하고, 프레임 단위로 넘기는 버튼을 사용하여 profiler 에서 로드된 room prefab의 ref count를 확인하실 수 있습니다. destroy버튼을 누르면 AddressableManager 스크립트에 의해 reference가 삭제되는 것을 확인할 수 있습니다 image