mirror of
https://github.com/originalnicodr/CinematicUnityExplorer.git
synced 2026-10-10 04:53:15 +08:00
UI tweaks.
This commit is contained in:
@@ -37,7 +37,7 @@ namespace UnityExplorer.UI.Panels
|
||||
|
||||
public override string Name => "Cam Paths";
|
||||
public override UIManager.Panels PanelType => UIManager.Panels.CamPaths;
|
||||
public override int MinWidth => 600;
|
||||
public override int MinWidth => 725;
|
||||
public override int MinHeight => 300;
|
||||
public override Vector2 DefaultAnchorMin => new(0.4f, 0.4f);
|
||||
public override Vector2 DefaultAnchorMax => new(0.6f, 0.6f);
|
||||
|
||||
@@ -97,7 +97,7 @@ namespace UnityExplorer.UI.Panels
|
||||
UIFactory.SetLayoutElement(toggleObj, minHeight: 25, flexibleWidth: 9999);
|
||||
vanillaLightsToggle.onValueChanged.AddListener(ToggleGameLights);
|
||||
vanillaLightsToggle.isOn = true;
|
||||
toggleText.text = "Toggle Game Lights";
|
||||
toggleText.text = "Vanilla Game Lights";
|
||||
|
||||
lightsScrollPool = UIFactory.CreateScrollPool<LightCell>(ContentRoot, "NodeList", out GameObject scrollObj,
|
||||
out GameObject scrollContent, new Color(0.03f, 0.03f, 0.03f));
|
||||
|
||||
Reference in New Issue
Block a user