浏览代码

* Added XR check within RaceUI.

/boatattack-xr-add-xr-support
thomas-zeng 4 年前
当前提交
8917eb17
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
      Assets/Scripts/UI/RaceUI.cs

4
Assets/Scripts/UI/RaceUI.cs


private void OnEnable()
{
// Disable Screenspace Canvas for XR because it is not supported.
if (XRTweak.DisableRaceUI())
return;
RaceManager.raceStarted += SetGameplayUi;
}

正在加载...
取消
保存