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
820
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
60
HandGestureTool for AppleVisionPro
cova8bitdots
0
94
NinjaGazeTyping 制作秘話
cova8bitdots
0
310
UnityとGoogleCloudFunction を連携して社内サービスを作った話
cova8bitdots
0
170
Unity-chan.Terrastal!!
cova8bitdots
0
400
ExampleOfTilemap2D
cova8bitdots
0
120
HowToUseAudioMixer
cova8bitdots
0
140
TrapOfSpriteAtlas
cova8bitdots
0
5.1k
StudyUnityFromAnti-pattern
cova8bitdots
0
2.4k
Other Decks in Technology
See All in Technology
2025advance01
minamizaki
0
120
シンプルな設定ファイルで実現する AWS IAM Identity Center のユーザー管理と開発チームへの委譲 / Delegating AWS IAM Identity Center User Management with a Simple DSL
yamaguchitk333
3
490
CSS polyfill とその未来
ken7253
0
120
Standard Schema: スキーマライブラリの統一企画とは何か
nozomuikuta
1
480
技術書典18結果報告
mutsumix
0
110
大事なのは、AIの精度だけじゃない!〜1円のズレも許されない経理領域とAI〜
jun_nemoto
9
4.8k
Postman AI エージェントビルダー最新情報
nagix
0
150
declaration mergingの威力:ライブラリアップデート時の書き換え作業を90%短縮するテクニック
yutake27
2
250
Things you never dared to ask about LLMs — v2
glaforge
1
430
Swiftは最高だよの話
yuukiw00w
1
260
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
24k
GigaViewerにおけるMackerel APM導入の裏側
7474
0
210
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
137
34k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
32
5.8k
Practical Orchestrator
shlominoach
187
11k
The Cost Of JavaScript in 2023
addyosmani
49
7.9k
Code Reviewing Like a Champion
maltzj
523
40k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.2k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
180
53k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
25
2.8k
For a Future-Friendly Web
brad_frost
178
9.7k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Optimizing for Happiness
mojombo
378
70k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
12k
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
• ぜひ使ってみてください