Esempio n. 1
0
    void Start()
    {
        //Register the 'api downloaded' callback function
        apiDownloadedCB += OnAPIDownloaded;

        //Download the api data
        CardDB.SetApiUrl(api_url);
        StartCoroutine(CardDB.DownloadAPI(apiDownloadedCB));

        //Get the game areas GO
        RunnerAreaGO = GameObject.FindGameObjectWithTag("Runner");
        CorpAreaGO   = GameObject.FindGameObjectWithTag("Corp");

        setupDecks();
    }