Documentation

Unity Engine

Unity Engine

Dispose()

Dispose must be called to shutdown the PhotoCapture instance.
Read time 1 minuteLast updated a month ago

Definition

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.