コガネブログ

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

【Unity】Addressable Asset System でデフォルト以外のすべての空のグループを削除するエディタ拡張

概要

使用例

using UnityEditor;

public static class Example
{
    [MenuItem( "Tools/Hoge" )]
    private static void Hoge()
    {
        AddressableUtils.RemoveAllEmptyGroupWithoutDefault();
    }
}