Beispiel #1
0
 internal void SetItem(Vector2Int pos, Map.Item item)
 {
     switch (item)
     {
     case Map.Item.Wood:
         detailMap.SetTile(new Vector3Int(pos.x, pos.y, 0), allTiles[Constants.WOOD_SPRITE]);
         break;
     }
 }
Beispiel #2
0
 public DropoffJob(Vector2Int pos, Map.Item item)
 {
     this.pos  = pos;
     this.item = item;
 }