浏览代码

Fix "UnassignedReferenceException" when playing in Editor

/4.0
Tim Mowrer 5 年前
当前提交
373b2b7d
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 5
      Assets/Scripts/LightEstimation.cs

5
Assets/Scripts/LightEstimation.cs


m_CameraManager.frameReceived += FrameChanged;
// Disable the arrow to start; enable it later if we get directional light info
arrow?.gameObject.SetActive(false);
if (arrow)
{
arrow?.gameObject.SetActive(false);
}
Application.onBeforeRender += OnBeforeRender;
}

正在加载...
取消
保存