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
870
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
79
HandGestureTool for AppleVisionPro
cova8bitdots
0
110
NinjaGazeTyping 制作秘話
cova8bitdots
0
340
UnityとGoogleCloudFunction を連携して社内サービスを作った話
cova8bitdots
0
190
Unity-chan.Terrastal!!
cova8bitdots
0
430
ExampleOfTilemap2D
cova8bitdots
0
140
HowToUseAudioMixer
cova8bitdots
0
150
TrapOfSpriteAtlas
cova8bitdots
0
5.2k
StudyUnityFromAnti-pattern
cova8bitdots
0
2.4k
Other Decks in Technology
See All in Technology
もう外には出ない。より快適なフルリモート環境を目指して
mottyzzz
13
11k
ラスベガスの歩き方 2025年版(re:Invent 事前勉強会)
junjikoide
0
190
20251027_マルチエージェントとは
almondo_event
1
440
AIプロダクトのプロンプト実践テクニック / Practical Techniques for AI Product Prompts
saka2jp
0
110
From Natural Language to K8s Operations: The MCP Architecture and Practice of kubectl-ai
appleboy
0
230
Observability — Extending Into Incident Response
nari_ex
1
450
あなたの知らない Linuxカーネル脆弱性の世界
recruitengineers
PRO
3
160
個人でデジタル庁の デザインシステムをVue.jsで 作っている話
nishiharatsubasa
3
5.1k
20251024_TROCCO/COMETAアップデート紹介といくつかデモもやります!_#p_UG 東京:データ活用が進む組織の作り方
soysoysoyb
0
110
SRE × マネジメントレイヤーが挑戦した組織・会社のオブザーバビリティ改革 ― ビジネス価値と信頼性を両立するリアルな挑戦
coconala_engineer
0
260
What's new in OpenShift 4.20
redhatlivestreaming
0
280
Dylib Hijacking on macOS: Dead or Alive?
patrickwardle
0
480
Featured
See All Featured
The Cult of Friendly URLs
andyhume
79
6.6k
KATA
mclloyd
PRO
32
15k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.7k
The World Runs on Bad Software
bkeepers
PRO
72
11k
How GitHub (no longer) Works
holman
315
140k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
Writing Fast Ruby
sferik
630
62k
Making Projects Easy
brettharned
120
6.4k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.2k
Designing Experiences People Love
moore
142
24k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
658
61k
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
• ぜひ使ってみてください