Update runtime code

This commit is contained in:
hevinci
2022-10-19 19:30:50 +08:00
parent e663dcf83b
commit a6de89ab74

View File

@@ -150,7 +150,7 @@ namespace YooAsset
{ {
var editorSimulateModeParameters = parameters as EditorSimulateModeParameters; var editorSimulateModeParameters = parameters as EditorSimulateModeParameters;
if (string.IsNullOrEmpty(editorSimulateModeParameters.SimulatePatchManifestPath)) if (string.IsNullOrEmpty(editorSimulateModeParameters.SimulatePatchManifestPath))
throw new Exception($"${editorSimulateModeParameters.SimulatePatchManifestPath} is null or empty."); throw new Exception($"{nameof(editorSimulateModeParameters.SimulatePatchManifestPath)} is null or empty.");
} }
if (parameters is HostPlayModeParameters) if (parameters is HostPlayModeParameters)