minesweeper_game/Library/PackageCache/com.unity.ai.navigation@c74b2724ed42/Editor/ConversionSystem/ConverterItemDescriptor.cs
2025-03-15 14:30:26 -04:00

26 lines
1.3 KiB
C#

using System;
namespace Unity.AI.Navigation.Editor.Converter
{
/// <summary>
/// A structure holding the information for each Item that needs to be Converted.
/// Name = The Name of the asset that is being converted.
/// Info = Information that can be used to store some data. This will also be shown in the UI.
/// WarningMessage = If there are some issues with the converter that we already know about.
/// Example: If we know it is a custom shader, we can not convert it so we add the information here.
/// AdditionalData = Additional data that can be used to store some data. This will not be shown in the UI.
/// </summary>
[Serializable]
internal struct ConverterItemDescriptor
{
/// <summary> Name of the asset being converted. This will be shown in the UI. </summary>
public string name;
/// <summary> Information that can be used to store some data. This will also be shown in the UI. </summary>
public string info;
/// <summary> If there are some issues with the converter that we already know about during init phase. This will be added as a tooltip on the warning icon. </summary>
public string warningMessage;
/// <summary> Additional data that can be used to store data related to the item to be converted.</summary>
public string additionalData;
}
}