mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-26 18:50:10 +00:00
update runtime code
This commit is contained in:
@@ -19,7 +19,10 @@ namespace YooAsset
|
|||||||
public static void Initialize(ILogger logger = null)
|
public static void Initialize(ILogger logger = null)
|
||||||
{
|
{
|
||||||
if (_isInitialize)
|
if (_isInitialize)
|
||||||
throw new Exception($"{nameof(YooAssets)} is initialized !");
|
{
|
||||||
|
UnityEngine.Debug.LogWarning($"{nameof(YooAssets)} is initialized !");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (_isInitialize == false)
|
if (_isInitialize == false)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user