Esempio n. 1
0
    // # Do we need client ID?
    public void register(GameObject go)
    {
        var metaData = go.GetComponent<MetaData>();

        var item = new DataItem ();
        item.Initialise (go);

        string bits = Convert.ToString(metaData.uid,2);
        Debug.Log ("QQ: " + bits);
        Debug.Log ("QQE: " + metaData.uid);

        allThings.Add(metaData.uid, item);
        uidObjectMap[metaData.uid] = go;
    }