using UnityEngine; using System.Collections; using System.Collections.Generic; using Thousandto.Code.Global; using Thousandto.Plugins.Common; using System; using Thousandto.Core.Base; namespace Thousandto.Code.Logic { /// /// 对话框的数据 /// public class MsgBoxInfo:MsgInfoBase { //第一个按钮 private MsgBoxButton _button1; //第二个按钮 private MsgBoxButton _button2; //点击背景关闭 private bool _isClickBGClose = false; //半透信息值 private float _alphaValue = 1; //消息Box类型 private MsgBoxInfoTypeCode _msgBoxInfoType; //MsgBox的回调 private MyAction _onCallBack; //隐藏后是否执行回调 public bool IsDoCallBackHideAfter { get; set; } public MyAction OnCallBack { get { return _onCallBack; } set { _onCallBack = value; } } public MsgBoxButton Button1 { get { return _button1; } set { _button1 = value; } } public MsgBoxButton Button2 { get { return _button2; } set { _button2 = value; } } public bool IsClickBGClose { get { return _isClickBGClose; } set { _isClickBGClose = value; } } public float AlphaValue { get { return _alphaValue; } set { _alphaValue = value; } } public MsgBoxInfoTypeCode MsgBoxInfoType { get { return _msgBoxInfoType; } set { _msgBoxInfoType = value; } } } }