public void AddState(TransitionState state)
 {
     if (_stateList.Contains(state))
     {
         return;
     }
     _stateList.Add(state);
 }
 public void SetTo(TransitionState data)
 {
     _nextState = data;
 }
        public GameObject GetObject(TransitionState state)
        {
            var cash = InstanceIdCash.Instance.GetId(_instanceIdDic[state]);

            return(cash.gameObject);
        }
        public void SetObject(TransitionState state, GameObject obj)
        {
            var holder = InstanceIdHolder.AddIdHolder(obj);

            _instanceIdDic.Add(state, holder.GetInstanceID());
        }
 public void SetLineFromTo(TransitionState from, TransitionState to, AbstractTransitionLine line)
 {
     line.SetTo(to);
     from.AddLineList(line);
 }