Exemple #1
0
    public void SetContent(SmartItemActionEvent actionEvent)
    {
        this.actionEvent = actionEvent;
        filteredList     = BuilderInWorldUtils.FilterEntitiesBySmartItemComponentAndActions(actionEvent.entityList);

        GenerateEntityDropdownContent();
        SelectedEntity(0);
    }
    public void SetContent(List <DCLBuilderInWorldEntity> entityList)
    {
        this.entityList = entityList;
        filteredList    = BuilderInWorldUtils.FilterEntitiesBySmartItemComponentAndActions(entityList);

        GenerateEntityDropdownContent();
        SelectedEntity(0);
    }
    public void AddEventAction()
    {
        List <DCLBuilderInWorldEntity> alreadyFilterList = BuilderInWorldUtils.FilterEntitiesBySmartItemComponentAndActions(entitiesList);

        if (alreadyFilterList.Count > 0)
        {
            actionsListView.AddActionEventAdapter(entitiesList);
        }
    }
    public void SetContent(SmartItemActionEvent actionEvent)
    {
        this.actionEvent = actionEvent;
        filteredList     = BuilderInWorldUtils.FilterEntitiesBySmartItemComponentAndActions(actionEvent.entityList);

        GenerateEntityDropdownContent();
        foreach (DCLBuilderInWorldEntity entity in filteredList)
        {
            GetThumbnail(entity);
        }
        SelectedEntity(entityDropDown.value);
    }