NestedClass.cs 541 B

12345678910111213141516171819202122
  1. using System;
  2. namespace Godot.SourceGenerators.Sample;
  3. public partial class NestedClass : GodotObject
  4. {
  5. public partial class NestedClass2 : GodotObject
  6. {
  7. public partial class NestedClass3 : GodotObject
  8. {
  9. [Signal]
  10. public delegate void MySignalEventHandler(string str, int num);
  11. [Export] private String _fieldString = "foo";
  12. [Export] private String PropertyString { get; set; } = "foo";
  13. private void Method()
  14. {
  15. }
  16. }
  17. }
  18. }