mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-30 00:48:00 +01:00
23 lines
366 B
C#
23 lines
366 B
C#
|
using System.Collections;
|
|||
|
using System.Collections.Generic;
|
|||
|
using UnityEngine;
|
|||
|
using UnityEngine.Audio;
|
|||
|
|
|||
|
public class ReloadLevelStart : MonoBehaviour
|
|||
|
{
|
|||
|
|
|||
|
public AudioMixer masterMixer;
|
|||
|
|
|||
|
// Start is called before the first frame update
|
|||
|
void Start()
|
|||
|
{
|
|||
|
|
|||
|
|
|||
|
masterMixer.SetFloat("masterVol", 0);
|
|||
|
|
|||
|
Application.LoadLevel(1);
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
}
|