No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

InitializeConverterContext.cs 922B

12345678910111213141516171819202122232425262728
  1. #if UNITY_2022_2_OR_NEWER
  2. using System.Collections.Generic;
  3. namespace Unity.AI.Navigation.Editor.Converter
  4. {
  5. /// <summary>
  6. /// A structure needed for the initialization step of the converter.
  7. /// Stores data to be visible in the UI.
  8. /// </summary>
  9. internal struct InitializeConverterContext
  10. {
  11. /// <summary>
  12. /// Stores the list of ConverterItemDescriptor that will be filled in during the initialization step.
  13. /// </summary>
  14. internal List<ConverterItemDescriptor> items;
  15. /// <summary>
  16. /// Add to the list of assets to be converted.
  17. /// This will be used to display information to the user in the UI.
  18. /// </summary>
  19. /// <param name="item">The item to add to the list items to convert</param>
  20. internal void AddAssetToConvert(ConverterItemDescriptor item)
  21. {
  22. items.Add(item);
  23. }
  24. }
  25. }
  26. #endif