summaryrefslogtreecommitdiffstats
path: root/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Sample/NestedClass.cs
blob: 3021f571150aedbec55d9677ff5ab9177bbfb022 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using System;

namespace Godot.SourceGenerators.Sample;

public partial class NestedClass : GodotObject
{
    public partial class NestedClass2 : GodotObject
    {
        public partial class NestedClass3 : GodotObject
        {
            [Signal]
            public delegate void MySignalEventHandler(string str, int num);

            [Export] private String field_String = "foo";
            [Export] private String property_String { get; set; } = "foo";

            private void Method()
            {
            }
        }
    }
}