mirror of https://github.com/tuyoogame/YooAsset
parent
82631fb336
commit
ef1acdc3d1
|
@ -15,7 +15,12 @@ namespace YooAsset
|
|||
/// </summary>
|
||||
public static bool IsInitialized
|
||||
{
|
||||
get { return _mainPackage.IsInitialized; }
|
||||
get
|
||||
{
|
||||
if (_mainPackage == null)
|
||||
return false;
|
||||
return _mainPackage.IsInitialized;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in New Issue