Dispose()
Dispose must be called to shutdown the PhotoCapture instance.
阅读时间1 分钟最后更新于 1 个月前
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.