diff options
author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2018-07-03 16:48:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-03 16:48:03 +0200 |
commit | 0705eb904a006ede23a8a837d20aa79a1d7a0b98 (patch) | |
tree | 5a1e7655ead75c32a202681dd3e5df195f31dcac /modules/mono/csharp_script.cpp | |
parent | 23ad85c692ebbb10df00e1a01263017e897ac4ef (diff) | |
parent | fd17b960e977149f026b49fb9f5ffa492982872a (diff) |
Merge pull request #19251 from YeldhamDev/script_templates_changes
Small changes to the comments in the script templates
Diffstat (limited to 'modules/mono/csharp_script.cpp')
-rw-r--r-- | modules/mono/csharp_script.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp index 46c40b2690..2420cdb4af 100644 --- a/modules/mono/csharp_script.cpp +++ b/modules/mono/csharp_script.cpp @@ -298,22 +298,20 @@ Ref<Script> CSharpLanguage::get_template(const String &p_class_name, const Strin "\n" "public class %CLASS_NAME% : %BASE_CLASS_NAME%\n" "{\n" - " // Member variables here, example:\n" + " // Declare member variables here. Examples:\n" " // private int a = 2;\n" - " // private string b = \"textvar\";\n" + " // private string b = \"text\";\n" "\n" + " // Called when the node enters the scene tree for the first time." " public override void _Ready()\n" " {\n" - " // Called every time the node is added to the scene.\n" - " // Initialization here.\n" - " \n" + " " " }\n" "\n" + "// // Called every frame. 'delta' is the elapsed time since the previous frame." "// 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"; |