AutoTouchToggles
AutoTouchToggles is a Unity script that assists in the automatic creation of Avatar Dynamic Touch Toggles. It is included in the Creator Essentials Pack by QueenMaebee.
Setting up the script
First, you need to add the script to the object you are going to have the touch receiver on, then after that, fill in your base transform (a.k.a. drag in the object with the script), your object receiver (a.k.a. object with the script), then your avatar animator, FX Controller, and your on and off animations. Then, after you've done that, set up your settings and click start script!
Collision Tags
Collision tags are a list of strings that specify what they can affect or be affected by. For a successful collision to occur, both the sender and receiver need at least one matching pair of strings. Collision tags are case-sensitive. For more information on Collision Tags, Click Here
A way to get collision tags is by adding a contact receiver component or script and setting it up that way. Once you've gotten the collision tag, copy it from the receiver and paste it.
This script requires your FX controller in the animator to work! Remember to put it in!
Dragging in the object that has the component/script will automatically add the script/component to the field.