update runtime code

This commit is contained in:
hevinci
2023-05-30 15:03:22 +08:00
parent c91c49465b
commit 93b58149d2

View File

@@ -19,7 +19,10 @@ namespace YooAsset
public static void Initialize(ILogger logger = null)
{
if (_isInitialize)
throw new Exception($"{nameof(YooAssets)} is initialized !");
{
UnityEngine.Debug.LogWarning($"{nameof(YooAssets)} is initialized !");
return;
}
if (_isInitialize == false)
{