Beispiel #1
0
 void Reset()
 {
     drawer.teardown();
     board = new Tile[rows_, columns_];
     FillCubeGrid();
     drawer.init(rows_, columns_, cubePrefab);
 }
Beispiel #2
0
 // Use this for initialization
 void Start()
 {
     instance_ = this;
     board     = new Tile[rows_, columns_];
     FillCubeGrid();
     drawer = BoardDrawer.getInstance();
     drawer.init(rows_, columns_, cubePrefab);
 }