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.7k
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
77
HandGestureTool for AppleVisionPro
cova8bitdots
0
110
NinjaGazeTyping 制作秘話
cova8bitdots
0
330
UnityとGoogleCloudFunction を連携して社内サービスを作った話
cova8bitdots
0
190
Unity-chan.Terrastal!!
cova8bitdots
0
430
ExampleOfTilemap2D
cova8bitdots
0
140
unity_lt_2021_Dec.pdf
cova8bitdots
0
870
HowToUseAudioMixer
cova8bitdots
0
150
TrapOfSpriteAtlas
cova8bitdots
0
5.2k
Other Decks in Programming
See All in Programming
CSC509 Lecture 06
javiergs
PRO
0
260
CSC305 Lecture 04
javiergs
PRO
0
270
(Extension DC 2025) Actor境界を越える技術
teamhimeh
1
250
2分台で1500examples完走!爆速CIを支える環境構築術 - Kaigi on Rails 2025
falcon8823
3
3.6k
詳しくない分野でのVibe Codingで困ったことと学び/vibe-coding-in-unfamiliar-area
shibayu36
3
4.9k
bootcamp2025_バックエンド研修_WebAPIサーバ作成.pdf
geniee_inc
0
100
Django Ninja による API 開発効率化とリプレースの実践
kashewnuts
0
1.3k
Le côté obscur des IA génératives
pascallemerrer
0
140
タスクの特性や不確実性に応じた最適な作業スタイルの選択(ペアプロ・モブプロ・ソロプロ)と実践 / Optimal Work Style Selection: Pair, Mob, or Solo Programming.
honyanya
3
170
私はどうやって技術力を上げたのか
yusukebe
43
18k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
340
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
310
Featured
See All Featured
Building Applications with DynamoDB
mza
96
6.7k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
870
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
9
590
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.2k
Context Engineering - Making Every Token Count
addyosmani
6
240
Raft: Consensus for Rubyists
vanstee
139
7.1k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
A Tale of Four Properties
chriscoyier
161
23k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.2k
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