CAN I SWICH IMAGE PICKER AND FACE IMAGE PICKER BY TOGGLE BUTTON?
I have a project in which I want to use both an image picker and a face image picker.
I want to be able to exchange images picker and face image picker with the help of a toggle button.
can I do this if yes so how?
This is my project which has a face image picker and I want to use both the face image picker and the image picker, in one click.
https://www.snapchat.com/unlock/?type=SNAPCODE&uuid=74a9a77800734b20ae583abea6e45a6b&metadata=01
-
Yes you can do this with scripting. If you create a tap event script that replaces the pick image texture with face image texture it should work! You can create the toggle with a switch by looking at the UI downloadables or create your own.
Comment actions -
First of all, thank you for suggesting to me. And,
do I have to make the script myself, or is it already there? Because I am not from a scripting background.
Comment actions -
Hey @...
You can add a behaviour script which toggles the image picker/face image picker by tapping on the button.
However i tried this to and for me it only worked once. Like i could tap the button to change it for e.g. from image picker to face image picker but tapping again does not work. Maybe someone has a solution for this.
Cheers,
SirQu3ntin
Comment actions -
hey SirQu3ntin thanks for giving me your valuable suggestions
but I do not know how to add an image picker/face image picker in a toggle can you please tell me ??
Comment actions
Please sign in to leave a comment.
Have a comment?