Dispose()
Dispose must be called to shutdown the PhotoCapture instance.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Windows.WebCam
- Assembly: UnityEngine.CoreModule
public void Dispose()
Remarks
If your PhotoCapture instance successfully called PhotoCapture.StartPhotoModeAsync, you must make sure that you call PhotoCapture.StopPhotoModeAsync before disposing your PhotoCapture instance.