mirror of
https://github.com/originalnicodr/CinematicUnityExplorer.git
synced 2026-10-11 09:58:02 +08:00
Cleanup and fix some small issues with scroll pool
This commit is contained in:
1 parent
0a9639f8a9
commit
edbb9a2882
12 files changed
+174
-138
No files matched your search
@@ -19,6 +19,8 @@ namespace UnityExplorer.UI.Widgets
|
||||
public int _cellIndex;
|
||||
|
||||
public GameObject uiRoot;
|
||||
public RectTransform Rect => m_rect;
|
||||
private readonly RectTransform m_rect;
|
||||
|
||||
public Text nameLabel;
|
||||
public Button nameButton;
|
||||
@@ -32,6 +34,7 @@ namespace UnityExplorer.UI.Widgets
|
||||
{
|
||||
this.tree = tree;
|
||||
this.uiRoot = cellUI;
|
||||
m_rect = uiRoot.GetComponent<RectTransform>();
|
||||
this.nameButton = nameButton;
|
||||
this.nameLabel = nameButton.GetComponentInChildren<Text>();
|
||||
this.expandButton = expandButton;
|
||||
|
||||
Reference in new issue
Block a user