Пример #1
0
        public void Copy(InventoryActionObject _data)
        {
            Enabled = _data.Enabled;
            Foldout = _data.Foldout;

            m_ActionList = new List <InventoryActionDataObject>();
            foreach (InventoryActionDataObject _action in _data.ActionList)
            {
                m_ActionList.Add(new InventoryActionDataObject(_action));
            }
        }
Пример #2
0
 public InventoryActionObject(InventoryActionObject _data) : base(_data)
 {
     Copy(_data);
 }