コード例 #1
0
        public void ScrollCellSelected(int cellIndex)
        {
            NodeView nodeView = (NodeView)_filterNodes[cellIndex];

            nodeView.CellSelected();
        }
コード例 #2
0
        public static void SaveCategoryState(NodeView node, string prefix)
        {
            string key = string.Format(KeyCategoryFormat, prefix, GetCategoryFullPath(node));

            PlayerPrefs.SetInt(key, node.isExpanded ? 1 : 0);
        }
コード例 #3
0
        public ScrollViewCell ScrollCellCreated(int cellIndex)
        {
            NodeView nodeView = (NodeView)_filterNodes[cellIndex];

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