mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Rename config to title screen config
This commit is contained in:
parent
e494a82fea
commit
d17221da92
@ -9,7 +9,7 @@ using System.Threading.Tasks;
|
|||||||
namespace NewHorizons.External.Configs
|
namespace NewHorizons.External.Configs
|
||||||
{
|
{
|
||||||
[JsonObject]
|
[JsonObject]
|
||||||
public class MainMenuConfig
|
public class TitleScreenConfig
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Colour of the text on the main menu
|
/// Colour of the text on the main menu
|
||||||
@ -28,12 +28,11 @@ namespace NewHorizons.Handlers
|
|||||||
subtitleContainer.AddComponent<SubtitlesHandler>();
|
subtitleContainer.AddComponent<SubtitlesHandler>();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void SetUp(MainMenuConfig config)
|
public static void SetUp(TitleScreenConfig config)
|
||||||
{
|
{
|
||||||
if (config.menuTextTint != null)
|
if (config.menuTextTint != null)
|
||||||
{
|
{
|
||||||
TitleScreenColourHandler.SetColour((Color)config.menuTextTint.ToColor());
|
TitleScreenColourHandler.SetColour(config.menuTextTint.ToColor());
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -433,7 +433,7 @@ namespace NewHorizons
|
|||||||
|
|
||||||
// FOR TESTING!!!!
|
// FOR TESTING!!!!
|
||||||
// Remove once actually loading a json file is implemented
|
// Remove once actually loading a json file is implemented
|
||||||
TitleSceneHandler.SetUp(new MainMenuConfig() { menuTextTint = new External.SerializableData.MColor(128, 128, 255) });
|
TitleSceneHandler.SetUp(new TitleScreenConfig() { menuTextTint = new External.SerializableData.MColor(128, 128, 255) });
|
||||||
}
|
}
|
||||||
|
|
||||||
// EOTU fixes
|
// EOTU fixes
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user