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
800
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
47
HandGestureTool for AppleVisionPro
cova8bitdots
0
85
NinjaGazeTyping 制作秘話
cova8bitdots
0
300
UnityとGoogleCloudFunction を連携して社内サービスを作った話
cova8bitdots
0
160
Unity-chan.Terrastal!!
cova8bitdots
0
380
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
バクラクでのSystem Risk Records導入による変化と改善の取り組み/Changes and Improvement Initiatives Resulting from the Implementation of System Risk Records
taddy_919
0
230
大規模プロジェクトにおける 品質管理の要点と実践 / 20250327 Suguru Ishii
shift_evolve
0
290
Amazon Q Developer 他⽣成AIと⽐較してみた
takano0131
1
130
Explainable Software Engineering in the Public Sector
avandeursen
0
370
モンテカルロ木探索のパフォーマンスを予測する Kaggleコンペ解説 〜生成AIによる未知のゲーム生成〜
rist
4
1.2k
SSH公開鍵認証による接続 / Connecting with SSH Public Key Authentication
kaityo256
PRO
2
230
LINE Notify互換のボットを作った話
kenichirokimura
0
190
サーバシステムを無理なくコンテナ移行する際に伝えたい4つのポイント/Container_Happy_Migration_Method
ozawa
1
110
Tirez profit de Messenger pour améliorer votre architecture
tucksaun
1
160
caching_sha2_passwordのはなし
boro1234
0
220
Amazon EKS Auto ModeでKubernetesの運用をシンプルにする
sshota0809
0
120
IAMのマニアックな話 2025 ~40分バージョン ~
nrinetcom
PRO
8
970
Featured
See All Featured
Typedesign – Prime Four
hannesfritz
41
2.6k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
Java REST API Framework Comparison - PWX 2021
mraible
29
8.5k
Into the Great Unknown - MozCon
thekraken
36
1.7k
Navigating Team Friction
lara
184
15k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
12k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.1k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.2k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
135
33k
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
• ぜひ使ってみてください