mirror of https://github.com/tuyoogame/YooAsset
feat : webgl platform logs
parent
7652de0129
commit
688f8ec26c
|
@ -24,7 +24,13 @@ namespace YooAsset
|
||||||
}
|
}
|
||||||
internal override void InternalOnStart()
|
internal override void InternalOnStart()
|
||||||
{
|
{
|
||||||
|
#if UNITY_WEBGL
|
||||||
|
_steps = ESteps.Done;
|
||||||
|
Status = EOperationStatus.Failed;
|
||||||
|
Error = $"{nameof(DefaultBuildinFileSystem)} is not support WEBGL platform !";
|
||||||
|
#else
|
||||||
_steps = ESteps.InitUnpackFileSystem;
|
_steps = ESteps.InitUnpackFileSystem;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
internal override void InternalOnUpdate()
|
internal override void InternalOnUpdate()
|
||||||
{
|
{
|
||||||
|
|
|
@ -24,7 +24,13 @@ namespace YooAsset
|
||||||
}
|
}
|
||||||
internal override void InternalOnStart()
|
internal override void InternalOnStart()
|
||||||
{
|
{
|
||||||
|
#if UNITY_WEBGL
|
||||||
|
_steps = ESteps.Done;
|
||||||
|
Status = EOperationStatus.Failed;
|
||||||
|
Error = $"{nameof(DefaultCacheFileSystem)} is not support WEBGL platform !";
|
||||||
|
#else
|
||||||
_steps = ESteps.CheckAppFootPrint;
|
_steps = ESteps.CheckAppFootPrint;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
internal override void InternalOnUpdate()
|
internal override void InternalOnUpdate()
|
||||||
{
|
{
|
||||||
|
|
|
@ -181,6 +181,8 @@ namespace YooAsset
|
||||||
{
|
{
|
||||||
_initializeStatus = op.Status;
|
_initializeStatus = op.Status;
|
||||||
_initializeError = op.Error;
|
_initializeError = op.Error;
|
||||||
|
if (_initializeStatus != EOperationStatus.Succeed)
|
||||||
|
YooLogger.Error(_initializeError);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue