From 727c242e6f22196a98cfe9d97a7ac874a983a063 Mon Sep 17 00:00:00 2001 From: John Date: Wed, 30 Dec 2015 14:59:23 +0800 Subject: [PATCH] [Unity] Fix for Unity UWP/Windows Phone https://github.com/EsotericSoftware/spine-runtimes/issues/495 --- spine-csharp/src/Atlas.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spine-csharp/src/Atlas.cs b/spine-csharp/src/Atlas.cs index 6fa83425b..c3aeb43bd 100644 --- a/spine-csharp/src/Atlas.cs +++ b/spine-csharp/src/Atlas.cs @@ -45,7 +45,7 @@ namespace Spine { List regions = new List(); TextureLoader textureLoader; - #if !(UNITY_5 || UNITY_4 || UNITY_3) // Code inside this is not used by Unity and breaks when building for Unity-UWP + #if !(UNITY_5 || UNITY_4 || UNITY_WSA || UNITY_WP8 || UNITY_WP8_1) // !UNITY #if WINDOWS_STOREAPP private async Task ReadFile(string path, TextureLoader textureLoader) { var folder = Windows.ApplicationModel.Package.Current.InstalledLocation;