コード例 #1
0
    // Update is called once per frame
    void Update()
    {
        if (rec.CurrentHash != curHash)
        {
            curHash = rec.CurrentHash;
            content = rec.Content;

            // debug
            Debug.Log(string.Format("Tester fetched updated content (hash: {0}). Content: {1}, Length: {2}",
                                    curHash, Receiver.ArrayToString(content), rec.ContentLen));
        }
    }