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.3k
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
14
HandGestureTool for AppleVisionPro
cova8bitdots
0
46
NinjaGazeTyping 制作秘話
cova8bitdots
0
240
UnityとGoogleCloudFunction を連携して社内サービスを作った話
cova8bitdots
0
110
Unity-chan.Terrastal!!
cova8bitdots
0
270
ExampleOfTilemap2D
cova8bitdots
0
74
unity_lt_2021_Dec.pdf
cova8bitdots
0
680
HowToUseAudioMixer
cova8bitdots
0
100
TrapOfSpriteAtlas
cova8bitdots
0
4.8k
Other Decks in Programming
See All in Programming
デザインシステムとコンポーネント指向によるフロントエンド開発プロセスの革新 / Innovation in Frontend Development Processes through Design Systems and Component-Oriented Architecture
nrslib
7
5k
健康第一!MetricKitで始めるアプリの健康診断 / App Health Checkups Starting with MetricKit
nekowen
4
790
RAGの回答精度評価用のQAデータセットを生成AIに作らせた話
kurahara
0
210
座談会 「Strict ConcurrencyとSwift 6が開く新時代: 私たちはどう生きるか?」
shiz
4
2.9k
The Future of Frontend i18n : Intl.MessageFormat
sajikix
1
2.4k
これからの時代の新標準!SwiftTestingへの移行とトラブルシューティング
uetyo
0
440
iOSDC 2024
auramagi
3
590
詳解UIWindow
natmark
3
2k
Rubyとクリエイティブコーディングの輪の広がり / The Growing Circle of Ruby and Creative Coding
chobishiba
1
220
LangChainでWebサイトの内容取得やGitHubソースコード取得
shukob
0
120
労務ドメインを快適に開発する方法 / How to Comfortably Develop in the Labor Domain
yuki21
1
250
初めてのiOS関連GitHub ActionsをMarketplaceに公開するまでの実録
konifar
3
200
Featured
See All Featured
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
103
47k
How STYLIGHT went responsive
nonsquared
93
5.1k
StorybookのUI Testing Handbookを読んだ
zakiyama
25
5k
For a Future-Friendly Web
brad_frost
173
9.3k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
32k
Fantastic passwords and where to find them - at NoRuKo
philnash
47
2.7k
Six Lessons from altMBA
skipperchong
26
3.3k
What's new in Ruby 2.0
geeforr
340
31k
How GitHub (no longer) Works
holman
309
140k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
27
7.4k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
A designer walks into a library…
pauljervisheath
201
24k
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