So I want to be able to use the “Third Person Controller” prefab with the “Mobile Single Stick Controller” prefab in WebGL.
This works perfectly fine on Android but when I change the build type to WebGL, the “mobile single stick controller” prefab stops working because it’s meant for cross platform input.
Which part of the script do I need to alter so it will accept my mouse interaction with the virtual joystick as input for the player?
Someone must have done this by now? It’s been over a year… bump,Someone must have attempted this by now? bump
Change MobilControlRig.cs from
#if MOBILE_INPUT
EnableControlRig(true);
#else
EnableControlRig(false);
#endif
to
#if MOBILE_INPUT
EnableControlRig(true);
#else
EnableControlRig(true);
#endif
EnableControlRig(true);
#endif