예제 #1
0
 public YesNoInfo()
 {
     title      = "";
     content    = "";
     noLabel    = "";
     yesLabel   = "";
     onYesClick = null;
     onNoClick  = null;
 }
예제 #2
0
    public void ShowYesOrNoUI(string title, string content, OnYesClick onYes, object param = null, OnNoClick onNo = null, string yesLabel = "", string noLabel = "")
    {
        YesNoInfo yni = new YesNoInfo();

        yni.title      = title;
        yni.content    = content;
        yni.onYesClick = onYes;
        yni.param      = param;
        yni.onNoClick  = onNo;
        yni.yesLabel   = yesLabel;
        yni.noLabel    = noLabel;

        //mDatas.Add(yni);
        mDatas.Enqueue(yni);

        Show();
    }