diff --git a/Assets/Demo/Scripts/CharacterImageModalTransitionAnimation.cs b/Assets/Demo/Scripts/CharacterImageModalTransitionAnimation.cs index 14452d1..41c17f8 100644 --- a/Assets/Demo/Scripts/CharacterImageModalTransitionAnimation.cs +++ b/Assets/Demo/Scripts/CharacterImageModalTransitionAnimation.cs @@ -1,5 +1,4 @@ -using TMPro.EditorUtilities; -using UnityEngine; +using UnityEngine; using UnityScreenNavigator.Runtime.Core.Shared; namespace Demo.Scripts diff --git a/Assets/UnityScreenNavigator/Runtime/Core/Shared/UnityScreenNavigatorSettings.cs b/Assets/UnityScreenNavigator/Runtime/Core/Shared/UnityScreenNavigatorSettings.cs index 20f7a14..909ef82 100644 --- a/Assets/UnityScreenNavigator/Runtime/Core/Shared/UnityScreenNavigatorSettings.cs +++ b/Assets/UnityScreenNavigator/Runtime/Core/Shared/UnityScreenNavigatorSettings.cs @@ -144,7 +144,7 @@ public static UnityScreenNavigatorSettings Instance #else if (_instance == null) { - _instance = CreateInstance(); + _instance = CreateInstance(); } return _instance; diff --git a/Assets/UnityScreenNavigator/Runtime/Foundation/AssetLoader/AddressableAssetLoaderObject.cs b/Assets/UnityScreenNavigator/Runtime/Foundation/AssetLoader/AddressableAssetLoaderObject.cs index 9f88943..4f0eb5b 100644 --- a/Assets/UnityScreenNavigator/Runtime/Foundation/AssetLoader/AddressableAssetLoaderObject.cs +++ b/Assets/UnityScreenNavigator/Runtime/Foundation/AssetLoader/AddressableAssetLoaderObject.cs @@ -1,3 +1,4 @@ +#if USE_ADDLESSABLES using UnityEngine; namespace UnityScreenNavigator.Runtime.Foundation.AssetLoader @@ -22,4 +23,5 @@ public override void Release(AssetLoadHandle handle) _loader.Release(handle); } } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Assets/UnityScreenNavigator/package.json b/Assets/UnityScreenNavigator/package.json index ca7e432..18f7b74 100644 --- a/Assets/UnityScreenNavigator/package.json +++ b/Assets/UnityScreenNavigator/package.json @@ -1,7 +1,7 @@ { "name": "com.harumak.unityscreennavigator", "displayName": "UnityScreenNavigator", - "version": "1.0.1", + "version": "1.0.2", "unity": "2019.4", "license": "MIT", "dependencies": {