Keine Beschreibung
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

ConverterItemDescriptor.cs 1.5KB

123456789101112131415161718192021222324252627
  1. #if UNITY_2022_2_OR_NEWER
  2. using System;
  3. namespace Unity.AI.Navigation.Editor.Converter
  4. {
  5. /// <summary>
  6. /// A structure holding the information for each Item that needs to be Converted.
  7. /// Name = The Name of the asset that is being converted.
  8. /// Info = Information that can be used to store some data. This will also be shown in the UI.
  9. /// WarningMessage = If there are some issues with the converter that we already know about.
  10. /// Example: If we know it is a custom shader, we can not convert it so we add the information here.
  11. /// HelpLink = Link to the documentation of how to convert this asset. Useful if the conversion failed or if we know we can not convert this asset automatically.
  12. /// </summary>
  13. [Serializable]
  14. internal struct ConverterItemDescriptor
  15. {
  16. /// <summary> Name of the asset being converted. This will be shown in the UI. </summary>
  17. public string name;
  18. /// <summary> Information that can be used to store some data. This will also be shown in the UI. </summary>
  19. public string info;
  20. /// <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>
  21. public string warningMessage;
  22. /// <summary> Link to the documentation of how to convert this asset. Useful if the conversion failed or if we know we can not convert this asset automatically. </summary>
  23. public string helpLink;
  24. }
  25. }
  26. #endif