C#: Rename SignalInfo to Signal and make awaitable

This commit is contained in:
Raul Santos 2022-12-12 17:14:21 +01:00
parent 1ab4f26cc4
commit 1a4c8856ec
No known key found for this signature in database
GPG key ID: B532473AE3A803E4
11 changed files with 35 additions and 30 deletions

View file

@ -133,7 +133,7 @@ namespace Godot.SourceGenerators.Sample
[Export] private Color property_Color { get; set; } = Colors.Aquamarine;
[Export] private Plane property_Plane { get; set; } = Plane.PlaneXZ;
[Export] private Callable property_Callable { get; set; } = new Callable(Engine.GetMainLoop(), "_process");
[Export] private SignalInfo property_SignalInfo { get; set; } = new SignalInfo(Engine.GetMainLoop(), "property_list_changed");
[Export] private Signal property_Signal { get; set; } = new Signal(Engine.GetMainLoop(), "property_list_changed");
// Enums
[SuppressMessage("ReSharper", "UnusedMember.Local")]