Unity/Editor/Addressableビルド
提供: 初心者エンジニアの簡易メモ
2021年8月3日 (火) 20:20時点におけるAdmin (トーク | 投稿記録)による版 (ページの作成:「==UnityEditorでAddressableビルド== Assets/Editor/AddressableBuild.cs <pre> using UnityEditor; using UnityEngine; using UnityEditor.AddressableAssets.Settings; public...」)
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(); } }