Hello Guest

Author Topic: Feeding a tile map a predefined material.  (Read 3712 times)

McSpiffy

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 8
    • View Profile
Feeding a tile map a predefined material.
« on: March 02, 2015, 06:00:27 pm »
Is it possible to feed a Tilemap a predefined material so I can just use the GetTilePosition  to receive the vector3s for each tile?

McSpiffy

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Feeding a tile map a predefined material.
« Reply #1 on: March 02, 2015, 09:13:40 pm »
I should clarify that I would like each pixel in the material to be represented as 1 tile. Its a small texture I'm using as the material so size should not be a problem.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Feeding a tile map a predefined material.
« Reply #2 on: March 03, 2015, 08:56:12 am »
You can always import spritesheet and set the divides to 1x1 - though I think the minimum size for a texture in unity is 4x4... Worth a try though.