Multiple Floors: how to hide/show a floor when a character is climbing/descending ?
Hi,
I'm new to unity, and I'm still trying to figure out the good way to do things. After a "quick search" I didn't find the answer.
Have a check at this picture at first to figureout. I'm trying to make a game with a top view camera fixed in term of angle with a position always relative to the character. I've multiple floor and I want my character to descend / climb those floors. When descending I want the top floor to hide and the bottom floor to display and vice versa.
Ex:
My character is at 1 and go to 2, so at 2 the level -1 should display and level 0 floor should hide.
My character is at 3 and go to 2, so at 2 the level 0 floor should display and level -1 floor should hide.
Do you have any recommendation on how to implement that efficiently and with a good reusable pattern ?
Thanks, Ben