// ***********************************************************************
// Assembly : Game
// Author : Kimch
// Created : 2021-08-26
// Description : 显示tips弹窗用的
// Last Modified By :
// Last Modified On :
// ***********************************************************************
//
//
// ***********************************************************************
using System.Collections;
using System.Collections.Generic;
using PureMVC.Interfaces;
using UnityEngine;
namespace G
{
///
/// Show Toast
///
public class ShowToastCommand : F.GameCommand
{
public override void Execute(INotification notification)
{
if (notification.Body is string text)
UI.ToastBox.ShowText(text);
}
static readonly ShowToastCommand _Default = new ShowToastCommand();
public static ShowToastCommand CreateCommand()
{
return _Default;
}
}
}