public static AbstractCallback Subscribe(this Godot.Object @object, string signal, Action callback) { var action = new GodotActionCallback(callback); @object.Connect(signal, action, nameof(action.Invoke)); return(action); }
public void Connect(Godot.Object obj, string signal) { obj.Connect(signal, this, "SignalInvoker"); }
public void SelfConnect(Godot.Object obj, string signal) { obj.Connect(signal, this, nameof(Invoke)); }