using UnityEngine; using System.Collections; using System.Collections.Generic; using Thousandto.Plugins.Common; namespace Thousandto.Code.Logic { /// /// 简单提示消息的数据 /// 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); } } }