diff --git a/Assets/Prototype/Core/CoreEditor.dll b/Assets/Prototype/Core/CoreEditor.dll index 53533be..537badc 100644 Binary files a/Assets/Prototype/Core/CoreEditor.dll and b/Assets/Prototype/Core/CoreEditor.dll differ diff --git a/Assets_DLL/Core/obj/Debug/netstandard2.0/Core.csproj.AssemblyReference.cache b/Assets_DLL/Core/obj/Debug/netstandard2.0/Core.csproj.AssemblyReference.cache index 9e14371..1a280c5 100644 Binary files a/Assets_DLL/Core/obj/Debug/netstandard2.0/Core.csproj.AssemblyReference.cache and b/Assets_DLL/Core/obj/Debug/netstandard2.0/Core.csproj.AssemblyReference.cache differ diff --git a/Assets_DLL/CoreEditor/CoreGUILayout.cs b/Assets_DLL/CoreEditor/CoreGUILayout.cs index b4075c0..c99cd05 100644 --- a/Assets_DLL/CoreEditor/CoreGUILayout.cs +++ b/Assets_DLL/CoreEditor/CoreGUILayout.cs @@ -24,6 +24,11 @@ namespace CoreEditor scenes.Insert(0, sceneName); currentIndex = 0; } + else if (currentIndex < 0 && string.IsNullOrWhiteSpace(sceneName)) + { + scenes.Insert(0, "None"); + currentIndex = 0; + } if (scenes.Count == 0) { diff --git a/Assets_DLL/CoreEditor/IAP/PurchaseButtonEditor.cs b/Assets_DLL/CoreEditor/IAP/PurchaseButtonEditor.cs index 7bba318..110fcd2 100644 --- a/Assets_DLL/CoreEditor/IAP/PurchaseButtonEditor.cs +++ b/Assets_DLL/CoreEditor/IAP/PurchaseButtonEditor.cs @@ -28,6 +28,11 @@ namespace CoreEditor.Localization products.Insert(0, productId.stringValue); currentIndex = 0; } + else if (currentIndex < 0 && string.IsNullOrWhiteSpace(productId.stringValue)) + { + products.Insert(0, "None"); + currentIndex = 0; + } if (products.Count == 0) { diff --git a/Assets_DLL/CoreEditor/Localization/TextLocalizatorEditor.cs b/Assets_DLL/CoreEditor/Localization/TextLocalizatorEditor.cs index 00a48a6..e5b3bb2 100644 --- a/Assets_DLL/CoreEditor/Localization/TextLocalizatorEditor.cs +++ b/Assets_DLL/CoreEditor/Localization/TextLocalizatorEditor.cs @@ -25,6 +25,12 @@ namespace CoreEditor.Localization keys.Insert(0, key.stringValue); currentIndex = 0; } + else if (currentIndex < 0 && string.IsNullOrWhiteSpace(key.stringValue)) + { + keys.Insert(0, "None"); + currentIndex = 0; + } + if (keys.Count == 0) { diff --git a/Assets_DLL/CoreEditor/obj/Debug/netstandard2.0/CoreEditor.csproj.AssemblyReference.cache b/Assets_DLL/CoreEditor/obj/Debug/netstandard2.0/CoreEditor.csproj.AssemblyReference.cache index 615e139..f5e894a 100644 Binary files a/Assets_DLL/CoreEditor/obj/Debug/netstandard2.0/CoreEditor.csproj.AssemblyReference.cache and b/Assets_DLL/CoreEditor/obj/Debug/netstandard2.0/CoreEditor.csproj.AssemblyReference.cache differ diff --git a/Assets_DLL/CoreEditor/obj/Debug/netstandard2.0/CoreEditor.dll b/Assets_DLL/CoreEditor/obj/Debug/netstandard2.0/CoreEditor.dll index 53533be..537badc 100644 Binary files a/Assets_DLL/CoreEditor/obj/Debug/netstandard2.0/CoreEditor.dll and b/Assets_DLL/CoreEditor/obj/Debug/netstandard2.0/CoreEditor.dll differ diff --git a/Builds/Core_1.8.unitypackage b/Builds/Core_1.8.unitypackage index c65662a..9ef0d2c 100644 Binary files a/Builds/Core_1.8.unitypackage and b/Builds/Core_1.8.unitypackage differ