namespace Unity.AI.Navigation.Editor.Converter { /// /// A structure needed for the conversion part of the converter.
/// This holds the items that are being converted.
/// All arrays are the same length and the index of each array corresponds to the same item. ///
internal struct RunItemContext { /// The items that will go through the conversion code. public ConverterItemInfo[] items { get; } /// A bool to set if these items failed to convert. public bool[] didFail { get; } /// Info to store data to be shown in the UI. public string[] info { get; } /// Constructor for the RunItemContext. public RunItemContext(ConverterItemInfo[] items) { this.items = items; didFail = new bool[this.items.Length]; info = new string[this.items.Length]; } } }