添加判空处理

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

View File

@ -105,9 +105,12 @@ namespace ResMgr {
#if UNITY_EDITOR #if UNITY_EDITOR
private void Update() private void Update()
{
if(resLoader != null)
{ {
resLoader.Update(); resLoader.Update();
} }
}
#endif #endif
} }
} }