浏览代码

Update collaboration sample to new API

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

4
Assets/Scenes/ARCollaborationData/CollaborativeSession.cs


return;
}
subsystem.collaborationEnabled = true;
subsystem.collaborationRequested = true;
m_MCSession.Enabled = true;
#else
DisableNotSupported("Collaborative sessions are an ARKit 3 feature; This platform does not support them.");

var subsystem = GetSubsystem();
if (subsystem != null)
subsystem.collaborationEnabled = false;
subsystem.collaborationRequested = false;
}
void Update()

正在加载...
取消
保存