Ejemplo n.º 1
0
        public void ScrollCellSelected(int cellIndex)
        {
            NodeView nodeView = (NodeView)_filterNodes[cellIndex];

            nodeView.CellSelected();
        }
        public static void SaveCategoryState(NodeView node, string prefix)
        {
            string key = string.Format(KeyCategoryFormat, prefix, GetCategoryFullPath(node));

            PlayerPrefs.SetInt(key, node.isExpanded ? 1 : 0);
        }
Ejemplo n.º 3
0
        public ScrollViewCell ScrollCellCreated(int cellIndex)
        {
            NodeView nodeView = (NodeView)_filterNodes[cellIndex];

            return(nodeView.CreateCell(_scrollView, _config, cellIndex));
        }