[examples][unity] Minor: Added sack to runtimes copy script. Added program files Spine path to export script.

This commit is contained in:
Harald Csaszar 2024-04-03 18:12:58 +02:00
parent 05135df2eb
commit 32bcbf6e2d
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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."