summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-11-11 22:54:02 +0100
committerGitHub <noreply@github.com>2020-11-11 22:54:02 +0100
commita6d4484e57f54ac4570a4f6fa5a13f7bf4933004 (patch)
tree7aafb0cc9556364fe17ffdefb2693d4ef0711534 /modules
parent8344d27276da130c0cec0398b98305bd37d67ca0 (diff)
parentc49810046eb946b13c2fb339bde5aca771aa4277 (diff)
Merge pull request #43462 from pulawskig/master
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);