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