public void ServerCreateLocalPlayer()
    {
        NetPlayer player = Instantiate <NetPlayer>(localPlayerPrefab);

        player.Init(0, playerName);
        InvokeOnPlayerCreated(player);
    }
    public void ServerCreatePlayer(int id, string pName)
    {
        NetPlayer player = Instantiate <NetPlayer>(playerPrefab);

        player.Init(id, pName);
        InvokeOnPlayerCreated(player);
    }
    public void ClientCreatePlayer(int id, string pName)
    {
        NetPlayer player = playerPrefab;

        if (id == Client.id)
        {
            player = localPlayerPrefab;
        }
        NetPlayer _p = Instantiate <NetPlayer>(player);

        _p.Init(id, pName);
        InvokeOnPlayerCreated(_p);
    }