Quick Joystick Creator For Rig
1: create A rectangle and select that
2: run script and hit the Button
Unequal sides on the rectangle making Slider
A perfect Square making the 2D Joystick.
Custom Attribute generating on the joy calculating the joy value automatically, the only thing left to you, wire that to your controller.