Marker tracking using the front-facing camera of HoloLens (both 1 and 2) and Unity, with a wrapper of ARToolKit built for UWP (Windows Universal Platform)
GNU Lesser General Public License v3.0
349
stars
92
forks
source link
Referencing main camera with via tag instead of name #41
Instead of finding the main camera via name I'd suggest finding it via Tag
holoLensCamera = GameObject.FindWithTag("MainCamera");
Seems like a better practice to me as it's default and grants out of the box compatiblity with the HoloToolkit and own naming conventions.
Instead of finding the main camera via name I'd suggest finding it via Tag holoLensCamera = GameObject.FindWithTag("MainCamera"); Seems like a better practice to me as it's default and grants out of the box compatiblity with the HoloToolkit and own naming conventions.