Recently I have been learning Input System.
I found a script named OnScreenStick. This script is used to simulate a virtual joystick.
I made another virtual joystick based on this script, but I found it didn’t work.
Because of my custom script inherits OnScreenControl, but in OnScreenControl script,
OnEnable and OnDisable are private methods.
So my script overwrite it. This operation prevents its original functionality from being called.
We could found it code source.
Last, my solution is not use OnEnable and OnDisable methods.
SendValueToControl will be work.