Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
AssetBundleDownloadSize
Search
Cova8bitdots
March 24, 2019
Programming
0
6.4k
AssetBundleDownloadSize
How to implement to show download size of Unity AssetBundle. ( Written in Japanese )
Cova8bitdots
March 24, 2019
Tweet
Share
More Decks by Cova8bitdots
See All by Cova8bitdots
Latest_Information_of_CICD_for_UnityAppWithAppleVisionPro
cova8bitdots
0
28
HandGestureTool for AppleVisionPro
cova8bitdots
0
71
NinjaGazeTyping 制作秘話
cova8bitdots
0
270
UnityとGoogleCloudFunction を連携して社内サービスを作った話
cova8bitdots
0
130
Unity-chan.Terrastal!!
cova8bitdots
0
310
ExampleOfTilemap2D
cova8bitdots
0
89
unity_lt_2021_Dec.pdf
cova8bitdots
0
740
HowToUseAudioMixer
cova8bitdots
0
110
TrapOfSpriteAtlas
cova8bitdots
0
4.9k
Other Decks in Programming
See All in Programming
アクターシステムに頼らずEvent Sourcingする方法について
j5ik2o
4
250
Keeping it Ruby: Why Your Product Needs a Ruby SDK - RubyWorld 2024
envek
0
180
「とりあえず動く」コードはよい、「読みやすい」コードはもっとよい / Code that 'just works' is good, but code that is 'readable' is even better.
mkmk884
3
120
nekko cloudにおけるProxmox VE利用事例
irumaru
3
430
PSR-15 はあなたのための ものではない? - phpcon2024
myamagishi
0
100
KMP와 kotlinx.rpc로 서버와 클라이언트 동기화
kwakeuijin
0
140
HTTP compression in PHP and Symfony apps
dunglas
2
1.7k
Webエンジニア主体のモバイルチームの 生産性を高く保つためにやったこと
igreenwood
0
330
SymfonyCon Vienna 2025: Twig, still relevant in 2025?
fabpot
3
1.2k
フロントエンドのディレクトリ構成どうしてる? Feature-Sliced Design 導入体験談
osakatechlab
8
4.1k
Recoilを剥がしている話
kirik
5
6.6k
Monixと常駐プログラムの勘どころ / Scalaわいわい勉強会 #4
stoneream
0
270
Featured
See All Featured
Site-Speed That Sticks
csswizardry
2
190
The Cost Of JavaScript in 2023
addyosmani
45
7k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
5
440
Unsuck your backbone
ammeep
669
57k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
The Language of Interfaces
destraynor
154
24k
Adopting Sorbet at Scale
ufuk
73
9.1k
Done Done
chrislema
181
16k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
510
A Philosophy of Restraint
colly
203
16k
Scaling GitHub
holman
458
140k
Transcript
AssetBundleμϯϩʔυαΠζදࣔରԠ খྛ ܚ༞ גࣜձࣾϛΫγΟ ΤϯλʔςΠϯϝϯτࣄۀຊ෦
ҙ • XFLAG ελδΦͷ৽ن։ൃλΠτϧͰ͍ͬͯΔํ๏Ͱ͢ • Apple Storeͷ৹ࠪΛ௨ͯ͠ແ͍ͷͰඞͣ͠ेͰແ͍Մೳੑ͕͋Γ·͢ 2
ࣗݾհ ࢯ໊ɿখྛ ܚ༞ ܦྺ • 2018/4݄ த్ೖࣾ • ৽نήʔϜͷ։ൃʹैࣄ •
AssetBundleΛ࢝Ίͱͨ͠ج൫γεςϜ UIपΓͷ࣮Λத৺ʹߦ͏ 3
AppStore৹ࠪΨΠυϥΠϯ https://developer.apple.com/jp/app-store/review/guidelines ΑΓҾ༻ 4
AppStore৹ࠪΨΠυϥΠϯ 5 ཁ͢Δʹ͜Εͬͯʮμϯϩʔυ࣌ʹAssetBundleͷαΠζΛදࣔ͠·͠ΐ͏ʯͱ͍͏͓ୡ͠ɻɻɻ
ෆ໌ྎͳ • ஞ࣍μϯϩʔυͰ࣮͍ͯ͠Δ߹ද͕ࣔඞཁʁ • ॳճҰׅμϯϩʔυΛߦ͏߹ͦΕͰOK? (߹ܭαΠζ͕Θ͔ΔͷͰ) • ߹ܭαΠζͷΈදࣔʁݸผදࣔඞཁʁ 6 ৭ʑෆ໌ͳ͕͋Γ·͕͢ɺͲͪΒʹͤΑ
ʮAssetBundleͷαΠζදࣔରԠʯආ͚ΒΕͳ͍༷ (͜ͷ͋ͨΓݟ͕͋ΔਓใΛڭ͚͑ͯΔͱ༗͍Ͱ͢!!)
αΠζදࣔରԠํ • AssetBundleManifest ʹରͯ͠αΠζऔಘϝιου͕͋Ε͍͍ • ެࣜʹແ͍(༻ҙͯ͘͠ΕΔͱخ͍͠ͳ͊ɻخ͍͠ͳ͊) • ManifestόΠφϦͱYAML Ͱॻ͔ΕͨϑΝΠϧͷ2͕ͭੜ͞ΕΔ →όΠφϦͷՃͭΒ͍
→YAML ͳΒਓؒͰಡΊΔ!! 7 ੜͨ͠YAMLΛՃ → DL→ಠࣗϚχϑΣετͱͯ͠ύʔε
ManifestϑΝΠϧ 8 ManifestϑΝΠϧͷߏใ • Versionใ • CRC • Ξηοτόϯυϧใͷྻ •
໊લ • ґଘؔ ManifestϑΝΠϧͷߏใ • Versionใ • CRC • Ξηοτόϯυϧใͷྻ • ໊લ • ґଘؔ • (New!!) αΠζ • (Optional) Hash • (Optional) CRC Ճ
ಠࣗManifest࡞ ϫʔΫϑϩʔ 1. AssetBundleΛੜ 2. ੜͨ͠yaml Λղಡ 3. ੜ֤ͨ͠AssetBundleͷαΠζΛऔಘͯ͠2. ͱใΛ౷߹
4. దͳܗࣜͰՃͨ͠ManifestϑΝΠϧΛੜ 9 YAMLΛ͍͡Δ͜ͱ͔Βpython Λબ ॳΊͯͷਓͰڥߏஙʙ࣮·Ͱ1~2ఔͰ͍͚·͢ʂ UnityతʹύʔεͷύϑΥʔϚϯε͕ JSON>YAML ͳͷͰJSONͰग़ྗ
ಠࣗManifestύʔε 10 • YAMLͷύʔε →yaml Ϟδϡʔϧ(PyYAML)Λ͏ ϑΝΠϧαΠζऔಘ → osϞδϡʔϧͰղܾ
• ϑΝΠϧग़ྗ → YAML : → JSON : Python ͳΒେͷ໘ͳॲཧΛ ҰߦͰղܾͯ͘͠ΕΔͷͰָ࣮͕
ಠࣗManifestύʔε 11
͓ΘΓʹ • AssetBundleͷαΠζऔಘํ๏ͷରԠྫΛհ͠·ͨ͠ →YAMLղੳ/ՃʴಠࣗϚχϑΣετͷ࡞ͰରԠ • AppStore ৹ࠪΨΠυϥΠϯͷใ͕͋·Γग़ճͬͯͳ͍ͨΊ ͔ͨ͠͠ΒରԠෆͷՄೳੑ͕͋Γ·͢ ↑Կ͔ใΛ͓࣋ͪͷํੋඇͱใڞ༗Λ͓ئ͍͠·͢!! 12
Thank you for listening