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
76
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
860
HowToUseAudioMixer
cova8bitdots
0
150
TrapOfSpriteAtlas
cova8bitdots
0
5.2k
Other Decks in Programming
See All in Programming
私達はmodernize packageに夢を見るか feat. go/analysis, go/ast / Go Conference 2025
kaorumuta
2
490
GitHub Actions × AWS OIDC連携の仕組みと経緯を理解する
ota1022
0
240
Swift Concurrency - 状態監視の罠
objectiveaudio
2
460
overlayPreferenceValue で実現する ピュア SwiftUI な AdMob ネイティブ広告
uhucream
0
110
Catch Up: Go Style Guide Update
andpad
0
170
Conquering Massive Traffic Spikes in Ruby Applications with Pitchfork
riseshia
0
150
CSC509 Lecture 02
javiergs
PRO
0
410
10年もののAPIサーバーにおけるCI/CDの改善の奮闘
mbook
0
780
Serena MCPのすすめ
wadakatu
4
900
Breaking Up with Big ViewModels — Without Breaking Your Architecture (droidcon Berlin 2025)
steliosf
PRO
1
330
Web技術を最大限活用してRAW画像を現像する / Developing RAW Images on the Web
ssssota
2
1.2k
ポスターセッション: 「まっすぐ行って、右!」って言ってラズパイカーを動かしたい 〜生成AI × Raspberry Pi Pico × Gradioの試作メモ〜
komofr
0
960
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Practical Orchestrator
shlominoach
190
11k
Typedesign – Prime Four
hannesfritz
42
2.8k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
A better future with KSS
kneath
239
17k
How to Think Like a Performance Engineer
csswizardry
27
2k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Site-Speed That Sticks
csswizardry
11
880
Speed Design
sergeychernyshev
32
1.1k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Writing Fast Ruby
sferik
629
62k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
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