More progress, cleanups and fixes

This commit is contained in:
Sinai committed 2021-05-04 20:10:46 +10:00
1 parent 302ff29e36
commit a89d66cf81
30 files changed
+807 -176

No files matched your search

-2
View File
@@ -729,9 +729,7 @@ namespace UnityExplorer.UI
contentRect.pivot = new Vector2(0.5f, 1f);
contentRect.sizeDelta = new Vector2(0f, 0f);
contentRect.offsetMax = new Vector2(0f, 0f);
SetLayoutGroup<VerticalLayoutGroup>(content, true, false, true, true, 0, 2, 2, 2, 2, TextAnchor.UpperCenter);
content.AddComponent<ContentSizeFitter>().verticalFit = ContentSizeFitter.FitMode.PreferredSize;
var scrollRect = mainObj.AddComponent<ScrollRect>();