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.6k
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
75
HandGestureTool for AppleVisionPro
cova8bitdots
0
110
NinjaGazeTyping 制作秘話
cova8bitdots
0
320
UnityとGoogleCloudFunction を連携して社内サービスを作った話
cova8bitdots
0
180
Unity-chan.Terrastal!!
cova8bitdots
0
420
ExampleOfTilemap2D
cova8bitdots
0
140
unity_lt_2021_Dec.pdf
cova8bitdots
0
850
HowToUseAudioMixer
cova8bitdots
0
150
TrapOfSpriteAtlas
cova8bitdots
0
5.2k
Other Decks in Programming
See All in Programming
私の後悔をAWS DMSで解決した話
hiramax
4
210
デザイナーが Androidエンジニアに 挑戦してみた
874wokiite
0
550
知っているようで知らない"rails new"の世界 / The World of "rails new" You Think You Know but Don't
luccafort
PRO
1
180
Navigating Dependency Injection with Metro
zacsweers
3
2.5k
概念モデル→論理モデルで気をつけていること
sunnyone
3
290
GitHubとGitLabとAWS CodePipelineでCI/CDを組み比べてみた
satoshi256kbyte
4
240
Testing Trophyは叫ばない
toms74209200
0
890
今だからこそ入門する Server-Sent Events (SSE)
nearme_tech
PRO
3
250
RDoc meets YARD
okuramasafumi
4
170
Introducing ReActionView: A new ActionView-compatible ERB Engine @ Rails World 2025, Amsterdam
marcoroth
0
710
プロポーザル駆動学習 / Proposal-Driven Learning
mackey0225
2
1.3k
@Environment(\.keyPath)那么好我不允许你们不知道! / atEnvironment keyPath is so good and you should know it!
lovee
0
120
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
Reflections from 52 weeks, 52 projects
jeffersonlam
352
21k
Six Lessons from altMBA
skipperchong
28
4k
Imperfection Machines: The Place of Print at Facebook
scottboms
268
13k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Site-Speed That Sticks
csswizardry
10
820
Speed Design
sergeychernyshev
32
1.1k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Code Review Best Practice
trishagee
71
19k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3k
Writing Fast Ruby
sferik
628
62k
Thoughts on Productivity
jonyablonski
70
4.8k
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