概要
#if UNITY_EDITOR
var guidList = UnityEditor.AssetDatabase.FindAssets( "t:AddressableAssetSettings" );
var guid = guidList.FirstOrDefault();
var path = UnityEditor.AssetDatabase.GUIDToAssetPath( guid );
var settings = UnityEditor.AssetDatabase.LoadAssetAtPath<UnityEditor.AddressableAssets.Settings.AddressableAssetSettings>( path );
var index = settings.ActivePlayModeDataBuilderIndex;
var builder = settings.DataBuilders[ index ] as UnityEditor.AddressableAssets.Build.DataBuilders.BuildScriptBase;
Debug.Log( $"[Addressable] プレイモードスクリプト:{builder.Name}" );
#endif