1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-04 17:04:49 +00:00

Remove [Signal] attribute from events

- Remove event as a valid target of `SignalAttribute`
- Stop adding the `[Signal]` attribute to events in bindings_generator
- Make bindings_generator use the `EventHandler` suffix to be consistent with the C# source generator
- Remove obsolete comment about the signal's delegate name
This commit is contained in:
Raul Santos
2022-08-26 00:49:14 +02:00
parent 9876382df8
commit 9c9b8fcd34
3 changed files with 3 additions and 7 deletions

View File

@@ -2,6 +2,6 @@ using System;
namespace Godot
{
[AttributeUsage(AttributeTargets.Delegate | AttributeTargets.Event)]
[AttributeUsage(AttributeTargets.Delegate)]
public class SignalAttribute : Attribute { }
}