Exemplo n.º 1
0
    public void CreateConfirmPanel(string desc, CallBackFunctionWithObject OK = null, object paramOK = null, CallBackFunctionWithObject Cancel = null, object paramCancel = null)
    {
        ConfirmDetial detial = new ConfirmDetial();

        detial.desc        = desc;
        detial.OK          = OK;
        detial.paramOK     = paramOK;
        detial.Cancel      = Cancel;
        detial.paramCancel = paramCancel;
        PushPanel(Panel_ID.ConfirmPanel, detial);
    }
Exemplo n.º 2
0
 public override void OnEnter(object param)
 {
     base.OnEnter(param);
     detial    = (ConfirmDetial)param;
     desc.text = detial.desc;
 }