添加判空处理

wangxiaolong 2020-09-11 10:23:05 +08:00
parent 17f241564f
commit f8527290ab
1 changed files with 4 additions and 1 deletions

View File

@ -106,7 +106,10 @@ namespace ResMgr {
#if UNITY_EDITOR
private void Update()
{
resLoader.Update();
if(resLoader != null)
{
resLoader.Update();
}
}
#endif
}