public SpawnedTile(Tile tile) { type = tile.type; obj = tile.obj; }
static GameObject[] GetBlocksAssets(Ground.GroundType type) { return(Resources.LoadAll <GameObject>(Ground.PATH_TO_PREFABS + Ground.PATH_TO_BLOCK_OF_TYPE(type))); }
public SpawnedTile(Tile tile) { type = tile.type; obj = tile.obj; }
static GameObject[] GetBlocksAssets(Ground.GroundType type) { return(Resources.LoadAll <GameObject>(Ground.PATH_TO_PREFABS + Ground.PATH_TO_BLOCK_OF_TYPE(type))); }