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
1k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
unity_lt_2021_Dec.pdf
introduction of unity asset importer
Cova8bitdots
December 12, 2021
More Decks by Cova8bitdots
See All by Cova8bitdots
Unity6.3 AudioUpdate
cova8bitdots
0
280
Latest_Information_of_CICD_for_UnityAppWithAppleVisionPro
cova8bitdots
0
130
HandGestureTool for AppleVisionPro
cova8bitdots
0
150
NinjaGazeTyping 制作秘話
cova8bitdots
0
370
UnityとGoogleCloudFunction を連携して社内サービスを作った話
cova8bitdots
0
230
Unity-chan.Terrastal!!
cova8bitdots
0
510
ExampleOfTilemap2D
cova8bitdots
0
180
HowToUseAudioMixer
cova8bitdots
0
190
TrapOfSpriteAtlas
cova8bitdots
0
5.5k
Other Decks in Technology
See All in Technology
メルカリのグローバルアプリで挑んだ AlloyDB 運用と課題解決の実践記
hatappi
0
230
【CEDEC2026】『ウマ娘 プリティーダービー』 英語版のキャラクターの方言や口調をローカライズするための創造的アプローチ
cygames
PRO
1
180
AI駆動開発は個人技からチーム戦へ:組織でAIを使いこなすための実践設計
moongift
PRO
0
440
サイバー捜査員研修(後半)
nomizone
1
640
PLaMo 3.0 Primeの構造化出力サポート
pfn
PRO
0
190
QAエンジニア起点で進める、SmartHRにおける信頼性向上について
kaomi_wombat
1
110
Bill One 開発エンジニア 紹介資料
sansan33
PRO
7
19k
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
4
24k
今こそ聞きたいソフトウェア設計 ドメイン駆動設計再入門
masuda220
PRO
16
5.7k
データ組織の転換期 一足飛びしない段階的戦略
leveragestech
PRO
0
150
Breaking the Seal: Static Deobfuscation of Compiled V8 JavaScript Bytecode Malware
hshrzd
0
480
つくって納得、つかって実感! 大規模言語モデルことはじめ ver2.0
recruitengineers
PRO
2
730
Featured
See All Featured
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.5k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
460
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
The Language of Interfaces
destraynor
162
27k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
360
The Cost Of JavaScript in 2023
addyosmani
55
10k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
890
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
2.2k
Why Our Code Smells
bkeepers
PRO
340
58k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
360
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.9k
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
• ぜひ使ってみてください