I'm trying to create a set-up where the player can walk to a certain area in a scene, for instance a table with some items on it, and click it to open up a pop-up with a zoom in on that specific area. So maybe you have this table standing in a room and the player walks there and looks closer on it. In the popup the player can the do things, like maybe open a small chest to find an item inside or even solve a puzzle or something. I am planning on having several different popup puzzles like this throughout my game. It looks something like this:
My first plan was to create this using interfaces. So when you click on the tabletop, that unhides an interface which has a few interactable areas in it. However, I got a bit stuck by the fact that interfaces seems to be locked in a handful of classes, such as "inventory", "options" and "miscellaneous". So I can make one popup puzzle and call it "miscellaneous", but what happens when I want to create the next one?
Does anyone have any other ideas?