Compatible with Unity2018

兼容Unity2018版本
This commit is contained in:
hevinci
2022-05-05 22:03:35 +08:00
parent c196cd84d3
commit 2ab045658b
5 changed files with 63 additions and 49 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ namespace YooAsset
{
/// <summary>
/// 编辑器下的模拟模式
/// 注意:在初始化的时候自动构建真机运行环境。
/// 注意:在初始化的时候自动构建真机模拟环境。
/// </summary>
EditorSimulateMode,
@@ -122,7 +122,7 @@ namespace YooAsset
_locationServices = parameters.LocationServices;
#if !UNITY_EDITOR
if (parameters is EditorPlayModeParameters)
if (parameters is EditorSimulateModeParameters)
throw new Exception($"Editor play mode only support unity editor.");
#endif