示例#1
0
        protected virtual void Create(DataEntity entity, DataSlot toSlotLeftTop)
        {
            var tryGetInventoryComponent = _bindComponentToDataDbRead.TryGetInventoryComponent(entity.DataInventory, out _);

            if (tryGetInventoryComponent)
            {
                _instantiator.AddEntity(entity, toSlotLeftTop);
            }
            //Debug.Log("Create: "+entity);
        }