mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-09 14:10:53 +03:00
Describe how to load a C# DLC (#3242)
Explains how to load a PCK made from a C# project. Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
This commit is contained in:
@@ -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
|
||||
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
|
||||
-------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user