// Use this for initialization void Start() { OnButton += Animoveinstance; mMapData = new mMapData(distance) { tile_BackGround = Tile_backGround, tile_Button = Tile_Button, tile_Target = Tile_Target, tile_Box = Tile_Box }; GameObject T = Instantiate(map[level - 1], new Vector3(0, 0, 0), Quaternion.identity); StartMap(); mMapData.ForeachBox(T); }
public bool hasmoveBox(mMapData mMap) { return(false); }