Beispiel #1
0
 private void InitListener()
 {
     m_add_btn.AddLongClickCallBack(btnLongAddNumber);
     m_reduce_btn.AddLongClickCallBack(btnReduceNumber);
     //m_add_btn.AddClickCallBack(btnAddNumber);
     m_buy_btn.AddClickCallBack(btnBuy);
 }
Beispiel #2
0
 private void InitEventListener()
 {
     m_addNum_btn.AddLongClickCallBack(OnAddNum);
     m_reduceNum_btn.AddLongClickCallBack(OnReduce);
     m_maxNum_btn.AddClickCallBack(OnMax);
     m_yes_btn.AddClickCallBack(OnSure);
     m_close_btn.AddClickCallBack(OnClose);
 }