提交
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
|
||||
namespace Rewired.Localization {
|
||||
using Rewired;
|
||||
using Interfaces;
|
||||
using Rewired.Interfaces;
|
||||
|
||||
/// <summary>
|
||||
/// Base class for management of localized strings.
|
||||
@@ -93,7 +93,7 @@ namespace Rewired.Localization {
|
||||
ReInput.InitializedEvent -= TrySetLocalizedStringProvider;
|
||||
ReInput.InitializedEvent += TrySetLocalizedStringProvider;
|
||||
if (!ReInput.isReady) return;
|
||||
if (!Utils.UnityTools.IsNullOrDestroyed(ReInput.localization.localizedStringProvider)) {
|
||||
if (!Rewired.Utils.UnityTools.IsNullOrDestroyed(ReInput.localization.localizedStringProvider)) {
|
||||
UnityEngine.Debug.LogWarning("A localized string provider is already set. Only one localized string provider can exist at a time.");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user