@startuml participant "LoadingScene" as LS participant "assetbundleMgr" as BM participant "UI_ResourceDownload" as UI participant "BundleFileLoader" as FL participant "FileDownloader" as FDL LS->LS: Start() LS->LS: EventStart() LS->LS: TitleSpineStart() LS->LS: start_BundleDownload() LS->BM: note right assetbundleMgr의 인스턴스는 있지만 init()는 호출하기 前 end note BM->BM: start_AssetBundle_Downloading() activate BM BM->BM: 어셋번들 정보 다운로드 받기\nCRT_download_AssetBundleInfo() BM->BM: init() activate BM note left BundleFileLoader를 만드는 역할 잘못된 함수 이름 사용 end note BM->FL: FL->FL: Initialize() note left 아래 3개 이벤트 함수를 설정 FileDownloader.OnDownloadComplete FileDownloader.OnDownloadProgressChanged FileDownloader.OnDownloadError end note FL->BM: deactivate BM BM->BM: CheckAssetUpdate() BM->BM: real_start_of_download() BM->UI: UI->UI: StartDownload() loop 번들 개수 만큼 UI->UI: DownloadAsset() UI->BM: DownloadAssetBundle() BM->FL: DownloadAssetBundle() create FDL FL->FDL: FL<-FDL: OnDownloadProgressChanged() FL->UI: 진행상황표시\nonProgressCallback() FL<-FDL: OnDownloadError() FL->UI: 에러나면 메시지 띄우고 종료\nonErrorCallback() FL<-FDL: OnDownloadComplete() FL->UI: onSuccessCallback()\n성공하면 아래 과정 실행 UI->UI: onSuccessCallback()에서\n다운로드 완료 체크 UI->UI: 다운로드 미완료면\nDownloadAsset() 호출 end UI->BM: 다운로드 완료 BM->BM: onDownloadCompleted() BM->LS: deactivate BM LS->LS: onComplete_AssetBundleDownload() @enduml
Decode URL
Submit
amiga
aws-orange
black-knight
bluegray
blueprint
cerulean-outline
cerulean
crt-amber
crt-green
cyborg-outline
cyborg
hacker
lightgray
mars
materia-outline
materia
metal
mimeograph
minty
plain
reddress-darkblue
reddress-darkgreen
reddress-darkorange
reddress-darkred
reddress-lightblue
reddress-lightgreen
reddress-lightorange
reddress-lightred
sandstone
silver
sketchy-outline
sketchy
spacelab
spacelab-white
superhero-outline
superhero
toy
united
vibrant
🎉 Discover the future PlantUML Web Editor! 🚀
PNG
SVG
ASCII Art