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