top gradient color change

This commit is contained in:
Zeo 2024-04-28 13:04:45 -05:00
parent e96e507b6b
commit 76130f43f0
4 changed files with 24 additions and 2 deletions

View file

@ -51,7 +51,7 @@
"temp/": true, "temp/": true,
"Temp/": true "Temp/": true
}, },
"dotnet.defaultSolution": "HeavenStudio.sln", "dotnet.defaultSolution": "HeavenStudioNightlyLogo.sln",
"files.autoSave": "off", "files.autoSave": "off",
"editor.inlineSuggest.showToolbar": "always", "editor.inlineSuggest.showToolbar": "always",
"editor.definitionLinkOpensInPeek": true, "editor.definitionLinkOpensInPeek": true,

View file

@ -162,7 +162,7 @@ SpriteRenderer:
m_SortingLayerID: 0 m_SortingLayerID: 0
m_SortingLayer: 0 m_SortingLayer: 0
m_SortingOrder: 9 m_SortingOrder: 9
m_Sprite: {fileID: -7339447033508519927, guid: c7a7c198fa143ea4f99a0b134dc5d17f, type: 3} m_Sprite: {fileID: 4223198500495046962, guid: c7a7c198fa143ea4f99a0b134dc5d17f, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0 m_FlipX: 0
m_FlipY: 0 m_FlipY: 0

View file

@ -60,6 +60,9 @@ namespace HeavenStudio
[SerializeField] private GameObject[] otherHiddenOnMouse; [SerializeField] private GameObject[] otherHiddenOnMouse;
//static bool firstBoot = true; Unused value - Marc //static bool firstBoot = true; Unused value - Marc
[Header("Nightly Menu Stuff")]
[SerializeField] private RawImage topGradient;
private AudioSource musicSource; private AudioSource musicSource;
private double songPosBeat; private double songPosBeat;
@ -103,10 +106,13 @@ namespace HeavenStudio
#if HEAVENSTUDIO_PROD #if HEAVENSTUDIO_PROD
versionText.text = GlobalGameManager.friendlyReleaseName; versionText.text = GlobalGameManager.friendlyReleaseName;
topGradient.color = new Color(0.9490197f, 0.3607843f, 0.1058824f, 1f);
#elif UNITY_EDITOR #elif UNITY_EDITOR
versionText.text = "EDITOR"; versionText.text = "EDITOR";
topGradient.color = new Color(0.9490197f, 0.3607843f, 0.1058824f, 1f);
#else #else
versionText.text = Application.buildGUID.Substring(0, 8) + " " + AppInfo.Date.ToString("dd/MM/yyyy hh:mm:ss"); versionText.text = Application.buildGUID.Substring(0, 8) + " " + AppInfo.Date.ToString("dd/MM/yyyy hh:mm:ss");
topGradient.color = new Color(0.764706f, 0.3686275f, 0.7411765f, 1f);
#endif #endif
} }

View file

@ -0,0 +1,16 @@
{
"MonoBehaviour": {
"Version": 4,
"EnableBurstCompilation": true,
"EnableOptimisations": true,
"EnableSafetyChecks": false,
"EnableDebugInAllBuilds": false,
"UsePlatformSDKLinker": false,
"CpuMinTargetX32": 0,
"CpuMaxTargetX32": 0,
"CpuMinTargetX64": 0,
"CpuMaxTargetX64": 0,
"CpuTargetsX64": 72,
"OptimizeFor": 0
}
}