Unity/Editor/Addressableビルド
提供: 初心者エンジニアの簡易メモ
UnityEditorでAddressableビルド
Assets/Editor/AddressableBuild.cs
using UnityEditor; using UnityEngine; using UnityEditor.AddressableAssets.Settings; public static class AddressableBuild { [MenuItem("Tools/AddressableBuild")] private static void Build() { AddressableAssetSettings.BuildPlayerContent(); } [MenuItem("Tools/AddressableClean")] private static void Clean() { AddressableAssetSettings.CleanPlayerContent(); } }