WuhuIslandTesting/Library/PackageCache/com.unity.scriptablebuildpipeline@1.21.5/Editor/Shared/BuildSpriteData.cs

26 lines
757 B
C#
Raw Permalink Normal View History

2025-01-07 02:06:59 +01:00
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>();
}
}
}