插件依赖
"Modules": [
{
"Name": "Car",
"Type": "Runtime",
"LoadingPhase": "Default"
}
],
"Plugins": [
{
"Name": "nDisplay",
"Enabled": true,
"SupportedTargetPlatforms": [
"Win64",
"Linux"
]
},
{
"Name": "OculusVR",
"Enabled": false,
"SupportedTargetPlatforms": [
"Win64"
]
}
]
uplugin文件里字段:
- Modules
- "Name": "TestModule",
- "Type": "Runtime",
- "LoadingPhase": "Default",
- "WhitelistTargetConfigurations": [ "DebugGame", "Development", "Shipping" ],
- "WhitelistTargets" : [ "Game", "Editor", "Client", "Server", "Program" ],
- "WhitelistPlatforms": [ "Win64" ]
打包插件:
- "{UE_Root}\Engine\Build\BatchFiles\RunUAT.bat" BuildPlugin -Plugin="{PluginPath}\Test.uplugin" -Configuration=DebugGame+Development+Shipping -EditorConfig=DebugGameEditor+DevelopmentEditor -TargetPlatforms=Win64 -Package="{OutputPackagedPath}\Test" -Rocket -VS2022
|