27 lines
680 B
C#
27 lines
680 B
C#
|
using UnityEngine;
|
|||
|
using System.Collections;
|
|||
|
using System.Collections.Generic;
|
|||
|
using Thousandto.Plugins.Common;
|
|||
|
|
|||
|
namespace Thousandto.Code.Logic
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 简单提示消息的数据
|
|||
|
/// </summary>
|
|||
|
public class MsgPromptInfo : MsgInfoBase
|
|||
|
{
|
|||
|
public MsgPromptInfo(string str = "", int type = 3, float time = 1, float delay = 1)
|
|||
|
{
|
|||
|
this.Msg = str;
|
|||
|
this.ShowLifeTime = time;
|
|||
|
}
|
|||
|
|
|||
|
//相等
|
|||
|
public static bool Equal(MsgPromptInfo x, MsgPromptInfo y)
|
|||
|
{
|
|||
|
return string.Equals(x.Msg, y.Msg, System.StringComparison.Ordinal);
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
}
|