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