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
unity_lt_2021_Dec.pdf
Search
Cova8bitdots
December 12, 2021
Technology
0
810
unity_lt_2021_Dec.pdf
introduction of unity asset importer
Cova8bitdots
December 12, 2021
Tweet
Share
More Decks by Cova8bitdots
See All by Cova8bitdots
Latest_Information_of_CICD_for_UnityAppWithAppleVisionPro
cova8bitdots
0
53
HandGestureTool for AppleVisionPro
cova8bitdots
0
89
NinjaGazeTyping 制作秘話
cova8bitdots
0
300
UnityとGoogleCloudFunction を連携して社内サービスを作った話
cova8bitdots
0
160
Unity-chan.Terrastal!!
cova8bitdots
0
390
ExampleOfTilemap2D
cova8bitdots
0
110
HowToUseAudioMixer
cova8bitdots
0
140
TrapOfSpriteAtlas
cova8bitdots
0
5.1k
StudyUnityFromAnti-pattern
cova8bitdots
0
2.4k
Other Decks in Technology
See All in Technology
Асинхронная коммуникация в Go: от понятного к душному. Дима Некрасов, Otello, 2ГИС
lamodatech
0
1.5k
OpsJAWS34_CloudTrailLake_for_Organizations
hiashisan
0
240
C++26アップデート 2025-03
faithandbrave
0
1.2k
SREからゼロイチプロダクト開発へ ー越境する打席の立ち方と期待への応え方ー / Product Engineering Night #8
itkq
2
1.1k
Notion x ポストモーテムで広げる組織の学び / Notion x Postmortem
isaoshimizu
1
150
MCPが変えるAIとの協働
knishioka
1
120
10分で学ぶ、RAGの仕組みと実践
supermarimobros
0
680
Databricksで完全履修!オールインワンレイクハウスは実在した!
akuwano
0
140
AI 코딩 에이전트 더 똑똑하게 쓰기
nacyot
0
460
Как мы автоматизировали интеграционное тестирование с Gonkey и не пожалели. Паша Егорычев, Кирилл Поляков
lamodatech
0
1.6k
「経験の点」の位置を意識したキャリア形成 / Career development with an awareness of the “point of experience” position
pauli
4
130
Mastraに入門してみた ~AWS CDKを添えて~
tsukuboshi
0
380
Featured
See All Featured
GitHub's CSS Performance
jonrohan
1030
460k
Testing 201, or: Great Expectations
jmmastey
42
7.5k
How STYLIGHT went responsive
nonsquared
100
5.5k
Navigating Team Friction
lara
185
15k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
13
820
Code Reviewing Like a Champion
maltzj
523
40k
Designing Experiences People Love
moore
142
24k
Scaling GitHub
holman
459
140k
The World Runs on Bad Software
bkeepers
PRO
68
11k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.3k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.3k
Transcript
Unity AssetImporter Λ ެ։͠·ͨ͠
͡Ίʹ メモリ管理は スマホゲームでは 超重要です!!
ゲーム制作でメモリ食うもの代表 ͡Ίʹ 動画 1位 音声 2位 画像 3位
ゲーム制作でメモリ食うもの代表 ͡Ίʹ 動画 1位 音声 2位 画像 3位 ゲーム制作でファイル単体で大きい順
ゲーム制作でメモリ食うもの代表 ͡Ίʹ 画像
メモリ上の画像 ࣮ྫ 1. Atlas 化は描画負荷軽減に有効な手法. →適切に圧縮設定しないとメモリを大きく消費する 2. 適切に圧縮設定してない画像は単体で大きくメモリを食ってしまう
ը૾ͷѹॖઃఆ ࣮ྫ Textureを選択した時の Inspectorのココ
ը૾ͷѹॖઃఆ ࣮ྫ ࠷ۙͰ͋ΕASTCҰ! ࢀߟɿ
実際に作業するにあたって ͱ͜ΖͰ 圧縮設定を1つ1つ設定するの 面倒じゃないですか?
実際に作業するにあたって ͱ͜ΖͰ 1. Scriptベースで管理だと 変更にコンパイルが必要 2. 小規模開発ですらTextureは数百~数千ある 3. 設定は状況によって複数ある
4. N回目の車輪を再発明したくない
実際に作業するにあたって ख࡞ۀ͖ͭ͘ͳ͍ʁ 誰か自動化ツール 作ってくれないかなぁ 作ったよ!
TITLE Description
特色 AssetImporter 1. Unityの機能のみで完結 ① 設定自体はPreset機能を利用 ② OnAssetPostProcessorで自動適応 2.
ScriptableObjectで設定を管理
特色① AssetImporter • Preset機能を使うので 通常のUIと同じ • AssetPostprocessorを 使うため,Importすることで
自動適応
特色② AssetImporter 設定ファイル =ScriptableObject 1. PathとPresetファイルを ペアで設定 2. 優先度はReordableListで変更可
3. コンパイル不要
特色③ AssetImporter UnityPackageManagerܦ༝Ͱ ಋೖՄೳ Gitܦ༝ͷಋೖͰҎԼͷΞυϨεΛೖྗ͢Δ͚ͩʂ https://github.com/Gra ffi ty-X/UnityAssetImporter.git
?path=AssetImporterProject/Assets
まとめ AssetImporter • 社内で使っているツールを公開しました • Texture/Audioの設定の自動化ツールです • 日本語ドキュメントもあるよ • https://qr.paps.jp/uK8uT
• ぜひ使ってみてください