示例#1
0
 public void Destroy()
 {
     looper.Reset();
     looper.SetLoopCallBack(null);
     _sortUnitList.Clear();
     _instance = null;
 }
示例#2
0
 public void Init(Func <int, int, int> loopCallBack)
 {
     _instance = this;
     looper.Reset();
     looper.SetLoopCallBack(loopCallBack);
 }