always set alpha to 1

This commit is contained in:
Noah Pilarski 2025-01-25 05:55:16 -05:00
parent 3ae1e25975
commit 0e1f63bfcb
2 changed files with 1 additions and 2 deletions

View File

@ -147,8 +147,6 @@ namespace NewHorizons.Handlers
planetSizes.Add(bodyInfo3);
}
SearchUtilities.Find("Scene/Background/PlanetPivot/Prefab_HEA_Campfire").SetActive(false);
SearchUtilities.Find("Scene/Background/PlanetPivot/PlanetRoot").SetActive(false);
var lightGO = new GameObject("Light");
lightGO.transform.parent = SearchUtilities.Find("Scene/Background").transform;

View File

@ -12,6 +12,7 @@ namespace NewHorizons.Handlers.TitleScreen
{
public static void SetColour(Color colour)
{
colour.a = 1;
var buttons = GameObject.FindObjectOfType<TitleScreenManager>()._mainMenu.GetComponentsInChildren<Text>();
var footer = GameObject.Find("TitleMenu/TitleCanvas/FooterBlock").GetComponentsInChildren<Text>();
foreach (var button in buttons.Concat(footer))