Example #1
0
    public void HandleIncomingPoiReached(string poiId, string playerName)
    {
        Poi        poiActivated = GameObject.Find("Poi" + poiId).GetComponent <Poi>();
        GameObject player       = GameObject.Find(playerName);

        poiActivated.HandlePoiEnterFromServer(poiId, player);
    }