💨
Gas Mask System - Doc
  • Gas Mask System - Introduction
  • ⭐Getting Started
    • Quick Start
    • Detailed Setup
  • 📖Manager Defaults
    • GMController
    • UI Manager
    • Health Manager
    • Audio Manager
    • Input Manager
  • ❓Support
    • Frequently Asked Questions
    • UI Text Missing
    • Where are inputs located?
    • Post Processing Errors?
    • FPSController Editing
    • PostProcessing Editing
    • Audio ScriptableObjects
    • System Namespace
  • 🌀Development
    • Patch Notes - V1.5
    • Roadmap
  • 📧Contacts
    • Contact Me
    • My Other Assets
Powered by GitBook
On this page
  1. Support

Audio ScriptableObjects

PreviousPostProcessing EditingNextSystem Namespace

Last updated 1 year ago

ScriptableObjects for audio can be created by "Right Clicking anywhere in the project panel > Create > Sound" or duplicating an already created SO.

ScriptableObjects will all have specific settings that control the audio clip which is used, that you can change, the volume, pitch, variance and whether it can loop. All features of the default "AudioSource" component.

In the "AudioManager" is good to add the size of the "Sounds" array to the number of sounds which will play within this system. By default it has 8 SO audio clips, these should be added to access them all.

In the "GMController" - Look at the inspector and you'll see slots for each of the applicable SO which you create in the project panel, add any of these to the appropriate slots. This allows you to play that specific SO from the audio manager.

❓