using UnityEngine;
using System.Collections;
namespace Gamestrap
{
public class GameplayUI : MonoBehaviour
{
public GameObject pausePanel;
private bool pause;
///
/// It activates the pause animation in the pause panel
///
public bool Pause
{
get { return pause; }
set
{
pause = value;
if (pause)
{
pausePanel.GetComponent().SetBool("Visible", true);
}
else
{
pausePanel.GetComponent().SetBool("Visible", false);
}
}
}
}
}