public void Show(string title, string context, bool modal, MsgBoxUIStyle style = MsgBoxUIStyle.Default, Action okCallback = null, Action cancelCallback = null, string okTitle = null, string cancelTitle = null) { m_TempBuilder.SetTitle(title) .SetContext(context) .SetModal(modal) .SetOkListener(okCallback) .SetCancelListener(cancelCallback) .SetUIStyle(style) .SetOKButtonTitle(okTitle) .SetCancelButtonTitle(cancelTitle) .Show(); }
public MsgBoxBuilder SetUIStyle(MsgBoxUIStyle style) { m_UIStyle = style; return(this); }
private bool CheckBit(MsgBoxUIStyle target, MsgBoxUIStyle mask) { return(CheckBit((int)target, (int)mask)); }
private bool CheckEnable(MsgBoxUIStyle mask) { return(CheckBit(m_UIStyle, mask)); }