fixed camera system and brightened recipticles

This commit is contained in:
2023-05-10 23:59:58 -04:00
parent d90419f579
commit aafb240391
181 changed files with 35174 additions and 2991 deletions

View File

@ -19,6 +19,9 @@ public class MainMenuManager : MonoBehaviour
private float initDilate;
[SerializeField]
float dilateSpeed = 0.1f;
[SerializeField]
private Animator cover;
private bool transitioning = false;
// Start is called before the first frame update
void Start()
@ -40,8 +43,20 @@ public class MainMenuManager : MonoBehaviour
}
void LoadFirstLevel()
{
if (!transitioning)
{
cover.Play("Cover_load_out");
transitioning = true;
StartCoroutine(_LoadFirstLevel());
}
}
private IEnumerator _LoadFirstLevel()
{
yield return new WaitForSeconds(4);
SceneManager.LoadScene(1);
}
void ExitApp()
{
Application.Quit();