跳轉至

UE 透過插件原始碼添加外掛程式

添加插件

簡單記錄一下如何在擁有插件源碼的情況下添加插件。

以插件 UE.EditorPlus為例

  • 將源碼放到 Plugins 目錄下
  • (這一步可以不執行)修改專案 .uproject 文件,Plugins 領域下增加:
        "Plugins": [
        {
            "Name": "EditorPlus",
            "Enabled": true,
            "TargetAllowList": [
                "Editor"
            ]
        }
    
    右鍵 uproject 檔案,執行"Generate Visual Studio Project Files",更新 sln 專案檔案 打開 sln 檔案,進行專案編譯。

設定多語言

修改專案的配置檔案 DefaultEditor.ini,加入新路徑:

[Internationalization]
+LocalizationPaths=%GAMEDIR%Plugins/UE.EditorPlus/Content/Localization/EditorPlusTools

Original: https://wiki.disenone.site/tc

This post is protected by CC BY-NC-SA 4.0 agreement, should be reproduced with attribution.

此帖子是使用 ChatGPT 翻譯的,請在反饋指出任何遺漏之處。