diff options
| author | mhilbrunner | 2017-10-22 21:07:34 +0200 |
|---|---|---|
| committer | mhilbrunner | 2017-10-22 21:07:34 +0200 |
| commit | ba779c1c0c5315ed0aea9799e8930975e1948f17 (patch) | |
| tree | a6feec8c46118dc0c5cf5037491c3cfa2f8484c3 /modules/mono/csharp_script.cpp | |
| parent | b4f0f59d9fd59c37c931f61ba4e1fe2bf1ac7291 (diff) | |
| download | godot-ba779c1c0c5315ed0aea9799e8930975e1948f17.tar.gz godot-ba779c1c0c5315ed0aea9799e8930975e1948f17.tar.zst godot-ba779c1c0c5315ed0aea9799e8930975e1948f17.zip | |
Diffstat (limited to 'modules/mono/csharp_script.cpp')
| -rw-r--r-- | modules/mono/csharp_script.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp index ba8c7df9c..7143177c3 100644 --- a/modules/mono/csharp_script.cpp +++ b/modules/mono/csharp_script.cpp @@ -277,7 +277,14 @@ Ref<Script> CSharpLanguage::get_template(const String &p_class_name, const Strin " // Initialization here\n" " \n" " }\n" - "}\n"; + "\n" + "// public override void _Process(float delta)\n" + "// {\n" + "// // Called every frame. Delta is time since last frame.\n" + "// // Update game logic here.\n" + "// \n" + "// }\n" + "//}\n"; script_template = script_template.replace("%BASE_CLASS_NAME%", p_base_class_name).replace("%CLASS_NAME%", p_class_name); |
