Is this a good idea for platformer tiles?

Hi I have tile prefab thats layed out like this. The thin collider on top has a physics material with a bit of friction while the one that takes up most of the space has 0. The reason why I did it this way is because I couldn’t get the character to slide up when he tried to jump while being against the wall. I’m wondering if theres a better way to do this.

2639400--185723--upload_2016-5-18_1-20-7.png

It dependends on the level of control you want of the physics you might also expereince some lag in the game if you use too many objects, so maybe you should ocnisder merging boxes for multiple tiles…

OK thanks. I guess I can also have different versions of the same tile as prefabs and the only difference would be how the colliders laid out.