Update runtime code

pull/51/head
hevinci 2022-10-19 19:30:50 +08:00
parent e663dcf83b
commit a6de89ab74
1 changed files with 1 additions and 1 deletions

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)