浏览代码

moved eye tracking check outside of ios check

/4.0
Alexandra Serralta 5 年前
当前提交
f01cdc1b
共有 1 个文件被更改,包括 10 次插入10 次删除
  1. 20
      Assets/Scripts/UX/CheckAvailableFeatures.cs

20
Assets/Scripts/UX/CheckAvailableFeatures.cs


m_FaceTracking.interactable = true;
#if UNITY_IOS
m_FaceBlendShapes.interactable = true;
foreach(var faceDescriptor in faceDescriptors)
{
if(faceDescriptor.supportsEyeTracking)
{
m_EyePoses.interactable = true;
m_FixationPoint.interactable = true;
m_EyeLasers.interactable = true;
break;
}
}
foreach(var faceDescriptor in faceDescriptors)
{
if(faceDescriptor.supportsEyeTracking)
{
m_EyePoses.interactable = true;
m_FixationPoint.interactable = true;
m_EyeLasers.interactable = true;
break;
}
}
}
if(occlusionDescriptors.Count > 0)

正在加载...
取消
保存