From f3218c24c7735ce7497356dfa82f8a3d67981d0b Mon Sep 17 00:00:00 2001 From: Andreas Haas Date: Mon, 30 Oct 2017 22:17:20 +0100 Subject: Mono: support custom script templates. Also fixes a bug that prevented methods like `duplicate()` from copying the source code. (Copied from GDScript implementation) --- modules/mono/csharp_script.cpp | 62 ++++++++++++++++++++++++++++++++++++++++++ modules/mono/csharp_script.h | 11 ++++++-- 2 files changed, 71 insertions(+), 2 deletions(-) diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp index 3d91a6de6c..86e4be1882 100644 --- a/modules/mono/csharp_script.cpp +++ b/modules/mono/csharp_script.cpp @@ -297,6 +297,20 @@ Ref