Unity_1lab/1 laba/Library/PackageCache/com.unity.render-pipelines.universal@3696a2e8b4ac/Editor/Converter/RunItemContext.cs
Vladislav 23109c3619 Небольшой фикс звуков
-Добавил отдельный звук шага и запахало как надо.
2025-09-16 17:48:42 +03:00

36 lines
1.2 KiB
C#

namespace UnityEditor.Rendering.Universal
{
/// <summary>
/// A structure needed for the conversion part of the converter.
/// This holds the item that is being converted.
/// </summary>
internal struct RunItemContext
{
ConverterItemInfo m_Item;
/// <summary> The item that will go through the conversion code. </summary>
public ConverterItemInfo item => m_Item;
/// <summary> A bool to set if this item failed to convert. </summary>
public bool didFail { get; set; }
/// <summary> Info to store data to be shown in the UI. </summary>
public string info { get; set; }
/// <summary> A bool to set if this item failed to convert. </summary>
internal bool hasConverted { get; set; }
/// <summary> A bool set to true if the converter is running in batch mode. </summary>
public bool isBatchMode { get; internal set; }
/// <summary> Constructor for the RunItemContext. </summary>
public RunItemContext(ConverterItemInfo item)
{
m_Item = item;
didFail = false;
info = "";
hasConverted = false;
isBatchMode = false;
}
}
}