Renamed a few things

This commit is contained in:
josshmot 2025-04-05 10:47:54 +10:00
parent 29f1c4ab8c
commit 5cf7c18a51
2 changed files with 3 additions and 3 deletions

View File

@ -183,7 +183,7 @@ namespace NewHorizons.Components
// Patch scroll duration
var creditsScroll = Locator.FindObjectOfType<CreditsScrollSection>();
creditsScroll._scrollDuration = gameOver.scrollDuration;
creditsScroll._scrollDuration = gameOver.length;
});
LoadManager.OnCompleteSceneLoad -= completeCreditsLoad;

View File

@ -46,7 +46,7 @@ namespace NewHorizons.External.Modules
public bool audioLooping;
/// <summary>
/// Whether the credits music should fade in.
/// Length of the credits music fade in.
/// Note: only applies when creditsType is set to "custom".
/// </summary>
[DefaultValue(0f)]
@ -57,7 +57,7 @@ namespace NewHorizons.External.Modules
/// Note: only applies when creditsType is set to "custom".
/// </summary>
[DefaultValue(120f)]
public float scrollDuration;
public float length;
/// <summary>
/// The type of credits that will run after the game over message is shown