How to make tilemap similar to Stardew Valley

Hello, I am currently working on a guild management game and I can’t figure out how to use tilemap function to make it work like i.e Stardew Valley. I have two major problems:

  1. How to use tilemap with interactive objects. For example: I want to have a wardrobe that player can interact with but I also want it to be placed on grid.

  2. How to make things like guild counter where player is visible if he’s in front of it but is not visible when he is behind it. My basic floor tile is 32x32 pixels, player is 32x64. I want to make a guild counter that is 64 pixels high and I want player to be fully visible when in front of it and partially hidden by the counter when behind it.

I hope it’s understandable and I would really appreciate any help. If you have any questions regarding my problems I’d gladly answer them.

The thing about guild counter thing, you can change how Unity sorts sprites by changign the custom sort axis to y.

That way if the sprites have the same sorting order Unity will decide what gets drawn infront based on the objects y value

Here are 2 options that I created for you:
I am using Unity 2020.3 for this, so keep that in mind.

Hope they’re useful!

8337036–1095972–WardrobeActivator1.cs (1.5 KB)
8337036–1095975–WardrobeActivator2.cs (1.88 KB)

You commented on a post from 2 years ago. Hopefully they figured it out since then lol