Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 2bf63ba

Browse files
Adding setters for a few properties
1 parent bc9bc83 commit 2bf63ba

File tree

1 file changed

+29
-5
lines changed

1 file changed

+29
-5
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/UI/TreeControl.cs

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,35 @@ private set
5454
}
5555
}
5656

57-
public string Title { get { return title; } set { title = value; } }
58-
public bool DisplayRootNode { get { return displayRootNode; } }
59-
public bool IsCheckable { get { return isCheckable; } }
60-
public string PathSeparator { get { return pathSeparator; } }
61-
public string PathIgnoreRoot { get { return pathIgnoreRoot; } }
57+
public string Title
58+
{
59+
get { return title; }
60+
set { title = value; }
61+
}
62+
63+
public bool DisplayRootNode
64+
{
65+
get { return displayRootNode; }
66+
set { displayRootNode = value; }
67+
}
68+
69+
public bool IsCheckable
70+
{
71+
get { return isCheckable; }
72+
set { isCheckable = value; }
73+
}
74+
75+
public string PathSeparator
76+
{
77+
get { return pathSeparator; }
78+
set { pathSeparator = value; }
79+
}
80+
81+
public string PathIgnoreRoot
82+
{
83+
get { return pathIgnoreRoot; }
84+
set { pathIgnoreRoot = value; }
85+
}
6286

6387
public void AddNode(string fullPath, string path, string label, int level, bool isFolder, bool isActive, bool isHidden, bool isCollapsed)
6488
{

0 commit comments

Comments
 (0)