FiE-Game/Assets/Cinema Director/Cutscene Items/Actor Items/Animation/ReloadLevelStart.cs

23 lines
366 B
C#
Raw Normal View History

2023-07-26 21:47:00 +02:00
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);
}
}