IIndexedDisplayElement.cs 380 B

1234567891011121314
  1. namespace TBL.GodotSharp.Ui.Indexed
  2. {
  3. /// <summary>
  4. /// 可被索引访问的显示元素接口
  5. /// </summary>
  6. /// <typeparam name="T">索引的类型</typeparam>
  7. public interface IIndexedDisplayElement<out T> where T : unmanaged
  8. {
  9. /// <summary>
  10. /// 此元素的索引
  11. /// </summary>
  12. T Index { get; }
  13. }
  14. }