mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
[ue4] Fixed up build system and README.
This commit is contained in:
parent
f315f36956
commit
42344c90b3
1
.gitignore
vendored
1
.gitignore
vendored
@ -107,6 +107,7 @@ spine-ue4/Intermediate
|
||||
spine-ue4/Saved
|
||||
spine-ue4/SpineUE4.xcworkspace
|
||||
spine-ue4/Plugins/SpinePlugin/Source/SpinePlugin/Public/spine-c
|
||||
spine-ue4/Plugins/SpinePlugin/Source/SpinePlugin/Public/spine-cpp
|
||||
spine-ue4/Plugins/SpinePlugin/Binaries
|
||||
spine-ue4/SpineUE4.VC.opendb
|
||||
spine-ue4/SpineUE4.VC.db
|
||||
|
||||
@ -6,9 +6,9 @@ namespace UnrealBuildTool.Rules
|
||||
{
|
||||
public SpineEditorPlugin(ReadOnlyTargetRules Target) : base(Target)
|
||||
{
|
||||
PublicIncludePaths.AddRange(new string[] { "SpineEditorPlugin/Public", "SpinePlugin/Public/spine-c/include" });
|
||||
PublicIncludePaths.AddRange(new string[] { "SpineEditorPlugin/Public", "SpinePlugin/Public/spine-cpp/include" });
|
||||
|
||||
PrivateIncludePaths.AddRange(new string[] { "SpineEditorPlugin/Private", "SpinePlugin/Public/spine-c/include" });
|
||||
PrivateIncludePaths.AddRange(new string[] { "SpineEditorPlugin/Private", "SpinePlugin/Public/spine-cpp/include" });
|
||||
|
||||
PublicDependencyModuleNames.AddRange(new string[] {
|
||||
"Core",
|
||||
|
||||
@ -6,8 +6,8 @@ namespace UnrealBuildTool.Rules
|
||||
{
|
||||
public SpinePlugin(ReadOnlyTargetRules Target) : base(Target)
|
||||
{
|
||||
PublicIncludePaths.AddRange(new string[] { "SpinePlugin/Public", "SpinePlugin/Public/spine-c/include" });
|
||||
PrivateIncludePaths.AddRange(new string[] { "SpinePlugin/Private", "SpinePlugin/Public/spine-c/include" });
|
||||
PublicIncludePaths.AddRange(new string[] { "SpinePlugin/Public", "SpinePlugin/Public/spine-cpp/include" });
|
||||
PrivateIncludePaths.AddRange(new string[] { "SpinePlugin/Private", "SpinePlugin/Public/spine-cpp/include" });
|
||||
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "RHI", "RenderCore", "ShaderCore", "RuntimeMeshComponent", "UMG", "Slate", "SlateCore" });
|
||||
OptimizeCode = CodeOptimization.Never;
|
||||
}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
# spine-ue4
|
||||
The spine-ue4 runtime provides functionality to load, manipulate and render [Spine](http://esotericsoftware.com) skeletal animation data using [Unreal Engine 4.15+](https://www.unrealengine.com/). spine-ue4 is based on [spine-c](../spine-c).
|
||||
The spine-ue4 runtime provides functionality to load, manipulate and render [Spine](http://esotericsoftware.com) skeletal animation data using [Unreal Engine 4.15+](https://www.unrealengine.com/). spine-ue4 is based on [spine-cpp](../spine-cpp).
|
||||
|
||||
## Licensing
|
||||
|
||||
@ -21,7 +21,7 @@ spine-ue4 does not support multiply and screen blending. spine-ue4 does not supp
|
||||
1. Create a new Unreal Engine code project. You don't need to write C++, but the code project is needed for the plugin to compile. See the [Unreal Engine documentation](https://docs.unrealengine.com/latest/INT/) or have a look at the example in this repository.
|
||||
2. Download the Spine Runtimes source using git (`git clone https://github.com/esotericsoftware/spine-runtimes`) or download it as a zip via the download button above.
|
||||
3. Copy the `Plugins` folder from this directory to your new project's root directory.
|
||||
4. Copy the folder `spine-runtimes/spine-c/spine-c` to your project's `Plugins/SpinePlugin/Source/SpinePlugin/Public/` folder.
|
||||
4. Copy the folder `spine-runtimes/spine-cpp/spine-cpp` to your project's `Plugins/SpinePlugin/Source/SpinePlugin/Public/` folder.
|
||||
5. Open the Unreal Project in the Unreal Editor
|
||||
|
||||
See the [Spine Runtimes documentation](http://esotericsoftware.com/spine-documentation#runtimesTitle) on how to use the APIs or check out the Spine UE4 example.
|
||||
@ -31,5 +31,5 @@ See the [Spine Runtimes documentation](http://esotericsoftware.com/spine-documen
|
||||
|
||||
The Spine UE4 example works on all platforms supported by Unreal Engine.
|
||||
|
||||
1. Copy the `spine-c` folder from this repositories root directory to your `Plugins/SpinePlugin/Sources/SpinePlugin/Public/` directory.
|
||||
1. Copy the `spine-cpp` folder from this repositories root directory to your `Plugins/SpinePlugin/Sources/SpinePlugin/Public/` directory.
|
||||
2. Open the SpineUE4.uproject file with Unreal Editor
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user