Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    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. LiterallyJeff

    LiterallyJeff

    Joined:
    Jan 21, 2015
    Posts:
    2,807