mirror of
https://github.com/originalnicodr/CinematicUnityExplorer.git
synced 2026-10-12 02:18:04 +08:00
More progress, cleanups and fixes
This commit is contained in:
1 parent
302ff29e36
commit
a89d66cf81
30 files changed
+807
-176
No files matched your search
@@ -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>();
|
||||
|
||||
Reference in new issue
Block a user