Eye of the Nile Docs
Everything you need to know to get started!
Loading...
Searching...
No Matches
Sound Class Reference

Detailed Description

Stores the data and properties of a given sound file.

Documentation updated 1/24/2025

Author
Nick Bottari, Stephen Nuttall
Deprecated
This is script part of the original sound system that's no longer used.
Note
This class does not inhert from monobehavior, so it does not have access to unity functions such as Start() or Update().

Public Attributes

string name
 Name of this sound. This is how the sound will be referenced in scripts.
 
AudioClip clip
 Reference to the audio file.
 
float volume = 0.5f
 Volume of the sound. Range limited to 0 to 1.
 

Member Data Documentation

◆ clip

AudioClip Sound.clip

Reference to the audio file.

◆ name

string Sound.name

Name of this sound. This is how the sound will be referenced in scripts.

◆ volume

float Sound.volume = 0.5f

Volume of the sound. Range limited to 0 to 1.


The documentation for this class was generated from the following file: