浏览代码

changed else if check to correct image GUID for image tracking demo, reported via https://github.com/Unity-Technologies/arfoundation-demos/issues/51

/main
Dan Miller 3 年前
当前提交
92d47be3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Assets/ImageTracking/Scripts/ImageTrackingObjectManager.cs

2
Assets/ImageTracking/Scripts/ImageTrackingObjectManager.cs


{
Destroy(m_SpawnedOnePrefab);
}
else if (image.referenceImage.guid == s_FirstImageGUID)
else if (image.referenceImage.guid == s_SecondImageGUID)
{
Destroy(m_SpawnedTwoPrefab);
}

正在加载...
取消
保存