Added intro screen.

This commit is contained in:
2026-06-24 14:01:18 -04:00
parent 9f5ec96e18
commit 855679391a
20 changed files with 839 additions and 30 deletions
@@ -0,0 +1,24 @@
using UnityEngine;
public class SplashScreen : FadeCallback
{
public AudioSource yeah; // Reference to the AudioSource component for playing the sound effect
public Fader 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() { }
public override void OnFadeStarted()
{
yeah.PlayDelayed(1.0f);
}
public override void OnFadeComplete()
{
faderScript.resetFader();
}
}