Browse Source

Removed unused audio properties

master
chrisgregan 9 years ago
parent
commit
90614ed59a
  1. 14
      Assets/Fungus/Narrative/Scripts/Dialog.cs

14
Assets/Fungus/Narrative/Scripts/Dialog.cs

@ -12,13 +12,6 @@ namespace Fungus
{
public static Character speakingCharacter;
public AudioClip writingSound;
public float writingVolume = 1f;
public bool loopWritingSound = true;
public bool beepPerCharacter = false;
public float slowBeepsAt = 10f;
public float fastBeepsAt = 30f;
public AudioClip characterTypingSound;
public DialogAudio audioController = new DialogAudio();
public bool alwaysFadeDialog = false;
@ -113,10 +106,13 @@ namespace Fungus
if (character == null)
{
if (characterImage != null)
{
characterImage.gameObject.SetActive(false);
}
if (nameText != null)
{
nameText.text = "";
characterTypingSound = null;
}
}
else
{
@ -158,8 +154,6 @@ namespace Fungus
characterName = flowchart.SubstituteVariables(characterName);
}
characterTypingSound = character.soundEffect;
SetCharacterName(characterName, character.nameColor);
}
}

Loading…
Cancel
Save