
There is an asset in the store I grabbed. the coding is WAY above my head, I got about half of it and integrated and adapted what I can to it. im going as far as I can with it and ill come back in a few month when I understand t better.
41 lines
1.3 KiB
C#
41 lines
1.3 KiB
C#
using System.Collections.Generic;
|
|
using UnityEditor.Build.Content;
|
|
using UnityEditor.Build.Player;
|
|
using UnityEngine.Build.Pipeline;
|
|
|
|
namespace UnityEditor.Build.Pipeline.Interfaces
|
|
{
|
|
/// <summary>
|
|
/// Base interface for the build results container
|
|
/// </summary>
|
|
public interface IBuildResults : IContextObject
|
|
{
|
|
/// <summary>
|
|
/// Results from the script compiling step.
|
|
/// </summary>
|
|
ScriptCompilationResult ScriptResults { get; set; }
|
|
|
|
/// <summary>
|
|
/// Map of serialized file name to results for built content.
|
|
/// </summary>
|
|
Dictionary<string, WriteResult> WriteResults { get; }
|
|
|
|
/// <summary>
|
|
/// Map of serialized file name to additional metadata associated with the write result.
|
|
/// </summary>
|
|
Dictionary<string, SerializedFileMetaData> WriteResultsMetaData { get; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// Extended interface for Asset Bundle build results container.
|
|
/// <seealso cref="IBuildResults"/>
|
|
/// </summary>
|
|
public interface IBundleBuildResults : IBuildResults
|
|
{
|
|
/// <summary>
|
|
/// Map of Asset Bundle name to details about the built bundle.
|
|
/// </summary>
|
|
Dictionary<string, BundleDetails> BundleInfos { get; }
|
|
}
|
|
}
|