Пример #1
0
    void Start()
    {
        _areThereEvents = false;
        //Make the call to backend to get event
        if (_pcDebugMod == true)
        {
            GameNetworkEvent _event = new GameNetworkEvent("ff81b218-c1d3-11ea-81e3-f3d73c97a2c0", "-0.0206224", "51.4978606");
            StartCoroutine(_gameNetwork.GetEvent("https://harryspotter.eu.ngrok.io/getEvents", _event.Serialize().ToString(), GetEventResults));
        }
        else
        {
            StartCoroutine(InitializeEvent());
        }

        //SpawnEvent();
    }