Ejemplo n.º 1
0
    public void Add(object k, object v)
    {
        bool hadKey = state.ContainsKey(k);

        state.Add(k, v);
        // determine if this warrants refreshing the pamv's
        if (!hadKey)
        {
            RefreshAll();
        }
    }
Ejemplo n.º 2
0
    //public void RefreshAll ()
    //{
    //	var arcadiaBehaviours = gameObject.GetComponents<ArcadiaBehaviour>();
    //	for (var i = 0; i < arcadiaBehaviours.Length; i++) {
    //		arcadiaBehaviours[i].RefreshPamvs();
    //	}
    //}

    public bool ContainsKey(object k)
    {
        return(state.ContainsKey(k));
    }