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