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; }
public void SetButtonStyle(AlerStyle left, AlerStyle right) { LeftButtonStyle = left; RightButtonStyle = right; }
private static extern void showAlert(string title, string msg, string lcontent, string rcontent, AlerStyle lstyle, AlerStyle rstyle);