hello,
I’m trying to put a simple joystick in my scene using the joystick script and it’s all working fine in the editor.
In build however, the joystick moves close to the center of the screen after i touch it.
It happens only when i orientate the screen and even in editor it’s an issue if i change the screen size before touching the joystick.
The game is set up in an android environment.
I’m using the default joystick script that comes in the “cross platform input” package.
The screen is oriented by this code:
void Awake ()
{
Screen.orientation = ScreenOrientation.Landscape;
}
Any advice would be really appreciated!!!