// Copyright (C) 2015-2021 gamevanilla - All rights reserved.
// This code can only be used under the standard Unity Asset Store End User License Agreement.
// A Copy of the Asset Store EULA is available at http://unity3d.com/company/legal/as_terms.
using UnityEngine;
namespace UltimateClean
{
///
/// The messages popup used in the demos.
///
public class MessagesPopup : MonoBehaviour
{
private Animator animator;
private static readonly int MoveLeft = Animator.StringToHash("MoveLeft");
private static readonly int MoveRight = Animator.StringToHash("MoveRight");
private void Awake()
{
animator = GetComponent();
}
public void OpenDetailedView()
{
animator.SetTrigger(MoveLeft);
}
public void CloseDetailedView()
{
animator.SetTrigger(MoveRight);
}
}
}