Пример #1
0
 public static CHanMgr GetInstance()
 {
     if (null == mpInstance)
     {
         mpInstance = new CHanMgr();
     }
     return(mpInstance);
 }
 public void CompareBoxtoCat(CATTYPE tBoxType)
 {
     if (((CATTYPE)mCatNum) == tBoxType)
     {
         CHanMgr.GetInstance().AddCount();
         mTxtCount.text = CHanMgr.GetInstance().GetCount().ToString();
     }
 }
Пример #3
0
 private CHanMgr()
 {
     mpInstance = null;
 }