浏览代码

Fix wrong comment syntax for C# in "Exporting packs" page (#5287)

Michael Alexsander 3 年之前
父节点
当前提交
c0b32c5258
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      getting_started/workflow/export/exporting_pcks.rst

+ 4 - 4
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
  .. code-tab:: gdscript GDScript
 
 
     func _your_function():
     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")
         var success = ProjectSettings.load_resource_pack("res://mod.pck")
 
 
         if success:
         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")
             var imported_scene = load("res://mod_scene.tscn")
 
 
  .. code-tab:: csharp
  .. code-tab:: csharp
 
 
     private void YourFunction()
     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");
         var success = ProjectSettings.LoadResourcePack("res://mod.pck");
 
 
         if (success)
         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");
             var importedScene = (PackedScene)ResourceLoader.Load("res://mod_scene.tscn");
         }
         }
     }
     }