Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

2D Tilemap Issues

Discussion in '2D' started by slypez, Nov 20, 2017.

  1. slypez

    slypez

    Joined:
    Oct 13, 2016
    Posts:
    2
    Hello,
    I have two problems when using the 2D tilemap gameobject:
    1. The first one is when i add my sprite to the tile palette and then add onto the world space, i have this "size" issue seen in the picture below. Is there an easy way to fix it where each sprite represent the equal size of one cell? Should i change the spritesize/cellsize, or is there an "autofill" type function availible?

    ExampleSprite.PNG

    2. Might be a stupid question, but why can you only place out sprites? For example i want to easily place out my coins with for example a collider and a script on it, but im not gonna place the coin sprites onto the tilemap, and then afterwards add those components on every coin. My question is then, can you in some way place out prefabs? (Couldn't put one in the tile palette) To avoid more work?
     
  2. jeffreyschoch

    jeffreyschoch

    Joined:
    Jan 21, 2015
    Posts:
    2,537