Initial commit: Unity WordConnect project

This commit is contained in:
2025-08-01 19:12:05 +08:00
commit f14db75802
3503 changed files with 448337 additions and 0 deletions

View File

@ -0,0 +1,14 @@
using System.Collections.Generic;
using System.Linq;
using UnityEngine.UIElements;
namespace WordsToolkit.Scripts.Levels.Editor
{
public static class TreeViewItemDataExtensions
{
public static TreeViewItemData<T> UpdateChildren<T>(this TreeViewItemData<T> item, List<TreeViewItemData<T>> newChildren)
{
return new TreeViewItemData<T>(item.id, item.data, newChildren);
}
}
}