mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-31 05:58:47 +00:00
Update runtime code
This commit is contained in:
@@ -146,7 +146,7 @@ namespace YooAsset
|
|||||||
if (parameters.LocationServices == null)
|
if (parameters.LocationServices == null)
|
||||||
throw new Exception($"{nameof(ILocationServices)} is null.");
|
throw new Exception($"{nameof(ILocationServices)} is null.");
|
||||||
|
|
||||||
if(parameters is EditorSimulateModeParameters)
|
if (parameters is EditorSimulateModeParameters)
|
||||||
{
|
{
|
||||||
var editorSimulateModeParameters = parameters as EditorSimulateModeParameters;
|
var editorSimulateModeParameters = parameters as EditorSimulateModeParameters;
|
||||||
if (string.IsNullOrEmpty(editorSimulateModeParameters.SimulatePatchManifestPath))
|
if (string.IsNullOrEmpty(editorSimulateModeParameters.SimulatePatchManifestPath))
|
||||||
@@ -953,6 +953,9 @@ namespace YooAsset
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
internal bool IsIncludeBundleFile(string fileName)
|
internal bool IsIncludeBundleFile(string fileName)
|
||||||
{
|
{
|
||||||
|
// NOTE : 编辑器模拟模式下始终返回TRUE
|
||||||
|
if (_playMode == EPlayMode.EditorSimulateMode)
|
||||||
|
return true;
|
||||||
return _bundleServices.IsIncludeBundleFile(fileName);
|
return _bundleServices.IsIncludeBundleFile(fileName);
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
Reference in New Issue
Block a user