
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.
26 lines
757 B
C#
26 lines
757 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using UnityEditor.Build.Pipeline.Interfaces;
|
|
|
|
namespace UnityEditor.Build.Pipeline
|
|
{
|
|
/// <summary>
|
|
/// Basic implementation of IBuildSpriteData. Stores the sprite importer data for a sprite asset in the build.
|
|
/// <seealso cref="IBuildSpriteData"/>
|
|
/// </summary>
|
|
[Serializable]
|
|
public class BuildSpriteData : IBuildSpriteData
|
|
{
|
|
/// <inheritdoc />
|
|
public Dictionary<GUID, SpriteImporterData> ImporterData { get; set; }
|
|
|
|
/// <summary>
|
|
/// Default constructor, initializes properties to defaults
|
|
/// </summary>
|
|
public BuildSpriteData()
|
|
{
|
|
ImporterData = new Dictionary<GUID, SpriteImporterData>();
|
|
}
|
|
}
|
|
}
|