void WaitForDevice() { if (!IsDeviceReady) { return; } m_Wrapper.InitResource(); m_OrbbecCallback = UpdateData; IsInited = true; if (m_Param != null) { if (m_Param.OrbbecInitResourceCallBack != null) { m_Param.OrbbecInitResourceCallBack(); } } }