Эх сурвалжийг харах

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

Harald Csaszar 1 жил өмнө
parent
commit
32bcbf6e2d

+ 3 - 0
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

+ 5 - 0
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."