From d383caccb506dc6add601bc23cc7bafadbaccccf Mon Sep 17 00:00:00 2001 From: Harald Csaszar Date: Thu, 12 Nov 2020 19:39:49 +0100 Subject: [PATCH] [examples] Updated example skeleton runtime copy script to copy to Unity Modules/ dirs as well (used for extension UPM packages). --- examples/export/runtimes.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/examples/export/runtimes.sh b/examples/export/runtimes.sh index d25dfd9bd..87c0ab136 100755 --- a/examples/export/runtimes.sh +++ b/examples/export/runtimes.sh @@ -463,6 +463,10 @@ cp -f ../raptor/export/raptor-pro.json "$UNITY_TARGET_DIR/raptor-pro.json" cp -f ../raptor/export/raptor-pma.atlas "$UNITY_TARGET_DIR/raptor-pma.atlas.txt" cp -f ../raptor/export/raptor-pma.png "$UNITY_TARGET_DIR/raptor-pma.png" +cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-unity/Modules/com.esotericsoftware.spine.urp-shaders/Examples/2D/Spine Skeletons/RaptorURP/" +cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-unity/Modules/com.esotericsoftware.spine.urp-shaders/Examples/3D/Spine Skeletons/RaptorURP/" +cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-unity/Modules/com.esotericsoftware.spine.lwrp-shaders/Spine Skeletons/RaptorLWRP/" + UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/spineboy-pro" cp -f ../spineboy/export/spineboy-pro.json "$UNITY_TARGET_DIR/spineboy-pro.json" cp -f ../spineboy/export/spineboy-pma.atlas "$UNITY_TARGET_DIR/spineboy-pro.atlas.txt" @@ -483,6 +487,10 @@ cp -f $UNITY_SOURCE_DIR/stretchyman/stretchyman-diffuse-pma.png "$UNITY_TARGET_D cp -f $UNITY_SOURCE_DIR/stretchyman/stretchyman-normals.png "$UNITY_TARGET_DIR/" cp -f $UNITY_SOURCE_DIR/stretchyman/stretchyman-emission.png "$UNITY_TARGET_DIR/" +cp -f ../stretchyman/export/stretchyman-pro.json "$ROOT/spine-unity/Modules/com.esotericsoftware.spine.urp-shaders/Examples/2D/Spine Skeletons/StretchymanURP/stretchyman.json" +cp -f ../stretchyman/export/stretchyman-pro.json "$ROOT/spine-unity/Modules/com.esotericsoftware.spine.urp-shaders/Examples/3D/Spine Skeletons/StretchymanURP/stretchyman.json" +cp -f ../stretchyman/export/stretchyman-pro.json "$ROOT/spine-unity/Modules/com.esotericsoftware.spine.lwrp-shaders/Spine Skeletons/StretchymanLWRP/stretchyman.json" + UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/Eyes" cp -f $UNITY_SOURCE_DIR/eyes/export/eyes.json "$UNITY_TARGET_DIR/eyes.json" cp -f $UNITY_SOURCE_DIR/eyes/export/eyes-pma.atlas "$UNITY_TARGET_DIR/eyes.atlas.txt"