I am actually using a Joystick on my multiplayer game. The joystick controls the character. When i start the game as Host all works fine. But when i start the game as a client, there is 2 joysticks overlaped (1 for me and the other one for the host).
Anyone Know how i should fix this ?
This might help :
using System.Collections;
using UnityEngine;
using UnityEngine.Networking;
public class SetupLocalPlayer : NetworkBehaviour
{
// Start is called before the first frame update
void Start()
{
if (isLocalPlayer)
GetComponent<DriveCanon>().enabled = true;
}
}