This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using UnityEngine; | |
using FMODUnity; | |
using FMOD.Studio; | |
using UnityEngine.SceneManagement; | |
public class FMODAudioManager : MonoBehaviour | |
{ | |
public bool useDebug; | |
public static FMODAudioManager instance { get; private set; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
//////////////////////////////////////////////////////////////////////// | |
// | |
// Adapted and modified version of Volumetric Script from Wwise 301 | |
// | |
//////////////////////////////////////////////////////////////////////// | |
[RequireComponent(typeof(Collider))] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
//////////////////////////////////////////////////////////////////////// | |
// | |
// Adapted and modified from the Occlusion Script from Cujo Sound video "Wwise and Unity - Basic Raycasting To Create Occlusion Parameters" | |
// | |
//////////////////////////////////////////////////////////////////////// | |
//Uses Logger.cs, there's a commented version using the Unity Debugger wrapped in a region below |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
//Uses Logger.cs, there's a commented version using the Unity Debugger wrapped in a region below | |
public class WwiseAmbientOcclusion : MonoBehaviour | |
{ | |
#if UNITY_EDITOR | |
public bool DebugScript = false; | |
#endif | |
public GameObject AudioListener; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
//////////////////////////////////////////////////////////////////////// | |
// | |
// From liortal's script that was posted in the Unity forum | |
// | |
//////////////////////////////////////////////////////////////////////// | |
/// <summary> | |
/// A logger that wraps Unity's internal logger. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
public class EllenWwiseManager : MonoBehaviour | |
{ | |
// Enum to represent different material type | |
#if UNITY_EDITOR | |
private enum CURRENT_MATERIAL { STONE, PUDDLE, GRASS, EARTH, VEGETATION }; | |
#endif | |
[Header("Wwise Events")] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class ThirdPersonPlayerFootstepManager : MonoBehaviour | |
{ | |
// Enum to represent different material type | |
private enum CURRENT_MATERIAL { STONE, PUDDLE, GRASS, EARTH, VEGETATION }; | |
[SerializeField] bool materialCheckConfigured = false; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine.Audio; | |
using UnityEngine; | |
using System.Collections.Generic; | |
public class AudioManager : MonoBehaviour | |
{ | |
[SerializeField] | |
private bool useDebug; | |
public List<SoundData> soundDataList; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
public class WwisePlayerLoopEvents : MonoBehaviour | |
{ | |
#if UNITY_EDITOR | |
[SerializeField] bool DebugScript; | |
#endif | |
[Header("Playback Settings")] | |
[SerializeField] bool playOnStart; |