fixed camera system and brightened recipticles
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user