Browse Source

Renamed SetMusicVolume to SetAudioVolume

master
chrisgregan 10 years ago
parent
commit
a91616cd7d
  1. 6
      Assets/Fungus/Audio/Commands/SetAudioVolume.cs
  2. 2
      Assets/Fungus/Audio/Commands/SetAudioVolume.cs.meta

6
Assets/Fungus/Audio/Commands/SetMusicVolume.cs → Assets/Fungus/Audio/Commands/SetAudioVolume.cs

@ -4,9 +4,9 @@ using System.Collections;
namespace Fungus namespace Fungus
{ {
[CommandInfo("Audio", [CommandInfo("Audio",
"Set Music Volume", "Set Audio Volume",
"Sets the game music volume level.")] "Sets the global volume level for audio played with Play Music and Play Sound commands.")]
public class SetMusicVolume : Command public class SetAudioVolume : Command
{ {
[Range(0,1)] [Range(0,1)]
public float volume = 1; public float volume = 1;

2
Assets/Fungus/Audio/Commands/SetMusicVolume.cs.meta → Assets/Fungus/Audio/Commands/SetAudioVolume.cs.meta

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: e5f62b7b5779c46aba13ef24141b2729 guid: a4015e84616cc45cfb498561373899d2
MonoImporter: MonoImporter:
serializedVersion: 2 serializedVersion: 2
defaultReferences: [] defaultReferences: []
Loading…
Cancel
Save