Esempio n. 1
0
    void Update()
    {
        if (Input.GetKeyDown(KeyCode.R))
        {
            levelCompleteJSON woo = new levelCompleteJSON("Level name", 10.00f, 5, 10);

            StartCoroutine(PostJSON("http://data.scopecreepstudios.com/", "bugdrop/completed", JsonUtility.ToJson(woo)));
        }
    }
Esempio n. 2
0
    // Start is called before the first frame update
    void Start()
    {
        levelCompleteJSON woo = new levelCompleteJSON("Level name", 10.50f, 5, 10);

        StartCoroutine(PostJSON("http://data.scopecreepstudios.com/", "bugdrop/completed", JsonUtility.ToJson(woo)));
    }