I have a dynamically generated Texture2D
asset and I want to allow my user the ability to quickly print it out from within my Unity3D app.
I understand how this works natively with UIPrintInteractionController
, And I am wondering if there is a way to accomplish this within Unity.
Yes, it's possible. There are many ways you can do this. The easiest one is:
1) Encode your texture to byte array, JPG or PNG.
2) Write iOS native plugin, and send your byte array to native side.
3) And print it using UIPrintInteractionController
.