RotX18 / MP_Group4_EscapingReality

VR Escape room game developed in Unity
3 stars 0 forks source link

Game Audio #118

Closed RotX18 closed 2 years ago

RotX18 commented 2 years ago

Implement game audio

RotX18 commented 2 years ago

Added game audio into scene

image

AudioHandler.cs

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class AudioHandler : MonoBehaviour
{
    private void Awake() {
        //dont destroy the audio source when transitioning scene to scene
        DontDestroyOnLoad(gameObject);
    }
}

Description:

Notes:

RabbitKazma commented 2 years ago

Game Audio:

Note: In game and in the source codes, the .mp4 file is edited to be 32:07 as its duration.