浏览代码

Update obsolete max face count debug log to use newer API

/3.1
Tim Mowrer 5 年前
当前提交
07ab4eb2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Assets/Scenes/FaceTracking/DisplayFaceInfo.cs

2
Assets/Scenes/FaceTracking/DisplayFaceInfo.cs


if (m_FaceManager.subsystem != null && faceInfoText != null)
{
faceInfoText.text = $"Supported number of tracked faces: {m_FaceManager.supportedFaceCount}\n" +
$"Max number of faces to track: {m_FaceManager.maximumFaceCount}\n" +
$"Max number of faces to track: {m_FaceManager.currentMaximumFaceCount}\n" +
$"Number of tracked faces: {m_FaceManager.trackables.count}";
}
}
正在加载...
取消
保存