Added splash screen.

This commit is contained in:
2026-06-24 10:40:48 -04:00
parent f8acbfd084
commit 9f5ec96e18
23 changed files with 1431 additions and 223 deletions
+25
View File
@@ -0,0 +1,25 @@
using NUnit.Framework;
using UnityEngine;
public class SplashScreen : MonoBehaviour
{
public AudioSource yeah; // Reference to the AudioSource component for playing the sound effect
public MonoBehaviour faderScript; // Reference to the Fader script for handling the fade effect
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start() { }
// Update is called once per frame
void Update() { }
void OnFadeStarted()
{
yeah.PlayDelayed(1.0f);
}
void OnFadeComplete()
{
faderScript.Invoke("resetFader", 1.1f);
}
}