From c49810046eb946b13c2fb339bde5aca771aa4277 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20Pu=C5=82awski?= Date: Wed, 11 Nov 2020 21:57:16 +0100 Subject: [PATCH] Removing unneeded FuncRef code in C# --- modules/mono/glue/GodotSharp/GodotSharp/Core/GD.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/GD.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/GD.cs index 7f4777777c..6699c5992c 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/GD.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/GD.cs @@ -39,14 +39,6 @@ namespace Godot return val * sgn; } - public static FuncRef FuncRef(Object instance, StringName funcName) - { - var ret = new FuncRef(); - ret.SetInstance(instance); - ret.SetFunction(funcName); - return ret; - } - public static int Hash(object var) { return godot_icall_GD_hash(var);