Answer the question
In order to leave comments, you need to log in
How to move the player through the layers in a 2d game?
Hello, I need to do layer navigation in Unity.
For example, like in Hyper Light Drifter, where I could go behind this column.
At the moment I'm trying to do this:
The higher the Y, the smaller the layer and vice versa. The only problem is that I don't know how to change the layer parameters in the code itself.
But if I'm stupid and you can do better than the way I'm trying (I'll have to scatter NPCs and map elements in layers), then I'll be glad to see how to do it right.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question