summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGrzegorz Puławski <pulawskig@gmail.com>2020-11-11 21:57:16 +0100
committerGrzegorz Puławski <pulawskig@gmail.com>2020-11-11 21:57:42 +0100
commitc49810046eb946b13c2fb339bde5aca771aa4277 (patch)
treefb686a99945f08dd0b731262ac9169dc07642ec7 /modules
parent2a0debd0779337154dc6b0a5ad1113647402d43e (diff)
Removing unneeded FuncRef code in C#
Diffstat (limited to 'modules')
-rw-r--r--modules/mono/glue/GodotSharp/GodotSharp/Core/GD.cs8
1 files changed, 0 insertions, 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);