Closed jinincarnate closed 1 year ago
Hi can u give a sample code on how to use the async version of LoadImagefromPath
Sure! Instead of Texture2D texture = NativeCamera.LoadImageAtPath( path, maxSize );, you should call Texture2D texture = await NativeCamera.LoadImageAtPathAsync( path, maxSize ); in an async function.
Texture2D texture = NativeCamera.LoadImageAtPath( path, maxSize );
Texture2D texture = await NativeCamera.LoadImageAtPathAsync( path, maxSize );
Hi can u give a sample code on how to use the async version of LoadImagefromPath