From 32bcbf6e2d9b88396dd41e620280b9bed47499c2 Mon Sep 17 00:00:00 2001 From: Harald Csaszar Date: Wed, 3 Apr 2024 18:12:58 +0200 Subject: [PATCH] [examples][unity] Minor: Added sack to runtimes copy script. Added program files Spine path to export script. --- examples/export/export.sh | 3 +++ examples/export/runtimes.sh | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/examples/export/export.sh b/examples/export/export.sh index 83f95e0b2..ac640ce62 100755 --- a/examples/export/export.sh +++ b/examples/export/export.sh @@ -10,6 +10,9 @@ SPINE_EXE="C:/Dev/spine/other/installs/Spine/Spine.com" if [ ! -f "$SPINE_EXE" ]; then SPINE_EXE="/mnt/c/Program Files/Spine/Spine.com" fi +if [ ! -f "$SPINE_EXE" ]; then + SPINE_EXE="C:/Program Files/Spine/Spine.com" +fi if [ ! -f "$SPINE_EXE" ]; then SPINE_EXE="/Applications/Spine.app/Contents/MacOS/Spine" fi diff --git a/examples/export/runtimes.sh b/examples/export/runtimes.sh index e256d7077..3cbc2e7f3 100755 --- a/examples/export/runtimes.sh +++ b/examples/export/runtimes.sh @@ -758,6 +758,11 @@ cp -f ../cloud-pot/export/cloud-pot.skel "$UNITY_TARGET_DIR/cloud-pot.skel.bytes cp -f ../cloud-pot/export/cloud-pot-pma.atlas "$UNITY_TARGET_DIR/cloud-pot-pma.atlas.txt" cp -f ../cloud-pot/export/cloud-pot-pma.png "$UNITY_TARGET_DIR/" +UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/sack" +cp -f ../sack/export/sack-pro.skel "$UNITY_TARGET_DIR/sack-pro.skel.bytes" +cp -f ../sack/export/sack-pma.atlas "$UNITY_TARGET_DIR/sack-pma.atlas.txt" +cp -f ../sack/export/sack-pma.png "$UNITY_TARGET_DIR/" + echo "--" echo "Note regarding spine-xna and spine-unity:" echo "Some textures (normalmap, emission, rim-mask) need manual update."