Beispiel #1
0
 public AlertParam(string title, string content, string leftBtnContent, string rightBtnConent, AlerStyle leftStyle, AlerStyle rightStyle, UnityAction <string> callback, UnityAction <string> onShow)
 {
     Title              = title;
     Content            = content;
     CallBack           = callback;
     OnShow             = onShow;
     LeftButtonContent  = leftBtnContent;
     RightButtonContent = rightBtnConent;
     LeftButtonStyle    = leftStyle;
     RightButtonStyle   = rightStyle;
 }
Beispiel #2
0
 public void SetButtonStyle(AlerStyle left, AlerStyle right)
 {
     LeftButtonStyle  = left;
     RightButtonStyle = right;
 }
Beispiel #3
0
 private static extern void showAlert(string title, string msg, string lcontent, string rcontent, AlerStyle lstyle, AlerStyle rstyle);