Hi all,
Hope you are doing well!
I'm currently getting ready to pass a beta test of my demo to my friends before I release it, and I was wondering if it was possible to do the following:
The steps where I mark "NEED HELP" means I don't know how I can do it in AC.
Is it possible to do such a thing?
Any help is appreciated, thank you!
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Though AC is behind the game itself, the feature you're describing here wouldn't involve AC. Having an application send out an email would require custom coding, with no reference of AC required (at least following the description above).
To take a "selective" screenshot, i.e. one that ignores Menus etc, you're probably best off using a RenderTexture attached to a Camera that renders non-UI layers. Resources on saving to disk can be found on Unity's forums, such as here:
https://forum.unity.com/threads/save-rendertexture-or-texture2d-as-image-file-utility.1325130/#post-8387577
As you'd need to include the screenshot file as an email attachment, though, I'd recommend getting emails first working with pure text. The radio buttons / text box values can be read with a custom script, which then passes that data into an email's content.
Resources for this:
https://sushanta1991.blogspot.com/2021/10/how-to-send-email-from-unity-using.html
https://stackoverflow.com/questions/2825950/sending-email-with-attachments-from-c-attachments-arrive-as-part-1-2-in-thunde
https://github.com/codemaker2015/vmailer
Ah sorry just saw this!
I went ahead and created a google survey instead just in case -- will keep this in mind though in case the need comes up!
Thank you so much for the heads up!