// Copyright (c) Pixel Crushers. All rights reserved.
using UnityEngine;
namespace PixelCrushers.DialogueSystem
{
///
/// A textless implementation of IBarkUI. This implementation doesn't show bark text.
/// It's useful if everything happens in a sequence instead (such as audio and animation),
/// since the Dialogue System requires some kind of a bark UI on the barker.
///
[AddComponentMenu("")] // Use wrapper.
public class TextlessBarkUI : MonoBehaviour, IBarkUI
{
public bool isPlaying { get { return false; } }
///
/// Barks a subtitle. In this implementation, this method doesn't actually do anything.
///
/// Subtitle to bark.
public void Bark(Subtitle subtitle) { }
public void Hide() { }
}
}