public IState GetState(GameObject go) { var tfmState = new TransformState(go); return tfmState; }
void DicToList() { _states.Clear(); Debug.Log(Json.Serialize(_dic)); foreach (var item in _dic) { IState state = new TransformState(item.Key); Dictionary<string, System.Object> dic = item.Value as Dictionary<string, System.Object>; state.FromDic(dic); _states.Add(state); } }