浏览代码

Describe how to load a C# DLC (#3242)

Explains how to load a PCK made from a C# project.

Co-authored-by: Hugo Locurcio <[email protected]>
Hugo Locurcio 5 年之前
父节点
当前提交
4dccd9fbd4
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      getting_started/workflow/export/exporting_pcks.rst

+ 5 - 0
getting_started/workflow/export/exporting_pcks.rst

@@ -120,6 +120,11 @@ file in the directory of the games executable. The PCK file contains a
     subfolder). However, it is also a way of creating patches for one's own game. A
     subfolder). However, it is also a way of creating patches for one's own game. A
     PCK file of this kind can fix the content of a previously loaded PCK.
     PCK file of this kind can fix the content of a previously loaded PCK.
 
 
+.. note::
+    For a C# project, you need to build the DLL and place it in the project directory first.
+    Then, before loading the resource pack, you need to load its DLL as follows:
+    ``Assembly.LoadFile("mod.dll")``
+
 Summary
 Summary
 -------
 -------