mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
[fixed]选中ResourceModule时进入Play模式抛出异常
This commit is contained in:
@@ -176,12 +176,12 @@ namespace TEngine
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取资源只读路径。
|
/// 获取资源只读路径。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string ReadOnlyPath => m_ResourceManager.ReadOnlyPath;
|
public string ReadOnlyPath => m_ResourceManager?.ReadOnlyPath;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取资源读写路径。
|
/// 获取资源读写路径。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string ReadWritePath => m_ResourceManager.ReadWritePath;
|
public string ReadWritePath => m_ResourceManager?.ReadWritePath;
|
||||||
|
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
private float m_AssetAutoReleaseInterval = 60f;
|
private float m_AssetAutoReleaseInterval = 60f;
|
||||||
@@ -710,4 +710,4 @@ namespace TEngine
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user