// Copyright (c) Pixel Crushers. All rights reserved.
using UnityEngine;
namespace PixelCrushers.DialogueSystem
{
///
/// Base class for abstract UI controls.
///
[System.Serializable]
public abstract class AbstractUIControls
{
///
/// Sets the controls active/inactive.
///
///
/// true for active, false for inactive.
///
public abstract void SetActive(bool value);
///
/// Shows the controls by setting them active.
///
public void Show()
{
SetActive(true);
}
///
/// Hides the controls by setting them inactive.
///
public void Hide()
{
SetActive(false);
}
}
}