コガネブログ

平日更新を目標に Unity や C#、Visual Studio、ReSharper などのゲーム開発アレコレを書いていきます

【Unity】SpriteAtlas に含まれているすべてのスプライトの情報をエディタ拡張で参照する方法

概要

var roots        = new Object[] { spriteAtlas };
var dependencies = EditorUtility.CollectDependencies( roots );