TheUnityWorkbench / tuw-arfoundation-demo

Other
103 stars 89 forks source link

changing line 55 to use ARRaycastManager #7

Open Junah-Park opened 4 years ago

Junah-Park commented 4 years ago

original statement: arOrigin.Raycast(screenCenter, hits, TrackableType.Planes); leads to a compiler error. Solution found in the comments section of Getting Started with AR Foundation: https://www.youtube.com/watch?v=Ml2UakwRxjk @ErikNatzke and Migration Guide: https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@2.0/manual/migration-guide.html