UTKComponentList, UTKTreeList 완료
This commit is contained in:
@@ -45,6 +45,7 @@ public class UTKTreeListWindowSample : MonoBehaviour
|
||||
/// </summary>
|
||||
private void CreateTestData()
|
||||
{
|
||||
List<UTKTreeListItemData> rootItems = new List<UTKTreeListItemData>();
|
||||
// 10개의 루트 항목 생성
|
||||
for (int i = 0; i < 10; i++)
|
||||
{
|
||||
@@ -74,9 +75,11 @@ public class UTKTreeListWindowSample : MonoBehaviour
|
||||
}
|
||||
}
|
||||
|
||||
// 루트 항목을 트리에 추가
|
||||
treeListWindow.AddItem(itemData);
|
||||
rootItems.Add(itemData);
|
||||
}
|
||||
|
||||
// 루트 항목을 트리에 추가
|
||||
treeListWindow.SetData(rootItems);
|
||||
|
||||
Debug.Log("[UTKTreeListWindowSample] 테스트 데이터 생성 완료: 10개 루트 항목");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user