From 93451ff41583b6ce8ec4837b812e2a70b481d360 Mon Sep 17 00:00:00 2001 From: Michael Alexsander Date: Thu, 30 Sep 2021 16:04:32 +0000 Subject: [PATCH] Fix wrong comment syntax for C# in "Exporting packs" page (#5287) --- getting_started/workflow/export/exporting_pcks.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/getting_started/workflow/export/exporting_pcks.rst b/getting_started/workflow/export/exporting_pcks.rst index d1d4b2c1e..6067d7795 100644 --- a/getting_started/workflow/export/exporting_pcks.rst +++ b/getting_started/workflow/export/exporting_pcks.rst @@ -97,23 +97,23 @@ The PCK file contains a “mod_scene.tscn” test scene in its root. .. code-tab:: gdscript GDScript func _your_function(): - # This could fail if, for example, mod.pck cannot be found + # This could fail if, for example, mod.pck cannot be found. var success = ProjectSettings.load_resource_pack("res://mod.pck") if success: - # Now one can use the assets as if they had them in the project from the start + # Now one can use the assets as if they had them in the project from the start. var imported_scene = load("res://mod_scene.tscn") .. code-tab:: csharp private void YourFunction() { - # This could fail if, for example, mod.pck cannot be found + // This could fail if, for example, mod.pck cannot be found. var success = ProjectSettings.LoadResourcePack("res://mod.pck"); if (success) { - // Now one can use the assets as if they had them in the project from the start + // Now one can use the assets as if they had them in the project from the start. var importedScene = (PackedScene)ResourceLoader.Load("res://mod_scene.tscn"); } }