private static void DefineSignalFromType(Godot.Object obj, Type type, SignalAttribute attr) { var name = string.IsNullOrEmpty(attr.SignalName) ? type.Name : attr.SignalName; if (!obj.HasUserSignal(name)) { obj.AddUserSignal(name, attr.Arguments); } }