My question is: What is the best way to disable/enable the camera and tracking behaviour?
I tried using CameraDevice.Instance.Start() and CameraDevice.Instance.Stop() and it does the trick but after repeatedly calling these functions the camera starts to lag reaaal hard (and I mean it). The reason I want to turn it on and off repeatedly is because of performance issues; e.g. when I'm in the menu part of our app there is no need for the camera/tracking to run in the background (our app is divided into different parts, where one part is the camera/tracking). Atm I'm forced to have the camera/tracking enabled at all time, even if I'm in the menu, which isn't very nice.
Any ideas or help would be very much appreciated!