private void onObjectAdded(RectTransform item, int index)
        {
            EditableItem component = item.GetComponent <EditableItem>();

            component.ResetItem();
            component.SetEditable(isEditStateActive);
            Service.Get <EventDispatcher>().DispatchEvent(new EditableItemEvents.ItemReady(component, index));
        }
        private void onEditableItemPrefabLoaded(string path, GameObject editableItemPrefab)
        {
            editableItemInstance = UnityEngine.Object.Instantiate(editableItemPrefab);
            EditableItem componentInChildren = editableItemInstance.GetComponentInChildren <EditableItem>();

            if (componentInChildren != null)
            {
                componentInChildren.OnContentLoaded = (Action <GameObject>)Delegate.Combine(componentInChildren.OnContentLoaded, new Action <GameObject>(onEditableItemContentLoaded));
                componentInChildren.LoadContentPrefab(prefabContentKey);
            }
        }