AbstractGenericNode.cs 228 B

1234567
  1. using Godot;
  2. public abstract partial class AbstractGenericNode<[MustBeVariant] T> : Node
  3. {
  4. [Export] // This should be included, but without type hints.
  5. public Godot.Collections.Array<T> MyArray { get; set; } = new();
  6. }