Ejemplo n.º 1
0
    public static void SetCurrentPlayer(PlayerInfo instance)
    {
        if (null != _instance)
        {
            _instance.RemoveNetworkListeners();
        }
        _instance = instance;
        _instance.AddNetworkListeners();

        GameManager.Instance.isFirstEnterTown = true;
    }