예제 #1
0
 public void Init(GridPoolManager parent,int mIndex)
 {
     mParent = parent;
     for(int i = 0;i<GridPoolManager.RowNum;i++)
     {
         SingleGrid newRow = GetSingleGrid();
         newRow.Init(i,mIndex);
         GridGroup[i]=newRow;
     }
 }
예제 #2
0
 void Awake()
 {
     instance = this;
 }