Is it possible to be able to detect more than 1 hotspot at the same time? I would like to be able to detect like 6 hotspots once when in the vicinity of them. Basically multiple active hotspots at once when I'm in the vicinity of them,
I would then use a custom script to be able to open the interaction menus when very close to one.
Comments
You will need to explain in more detail what it is you're trying to achieve here. If you set that option (ignoring your intended movement method for the moment), is that what you're after?
If coding is not your strength then I certainly wouldn't recommend trying to tweak AC's scripts. The provided methods covered in the Manual are intended to make it much easier to make changes.
Hotspots can be highlighted manually, and custom UI Text boxes can display their labels. A Hotspot doesn't have to be "selected" by AC in order to run its interactions or open an Interaction menu for it - if their selection as you intend is just visual then you might be able to just write that on top of AC's default interaction behaviour. Again, if you can be really clear about what you want then it may be possible to give more specific advice.
You'll need to be specific about what you mean by "displaying" a Hotspot - do you mean highlighting it? Showing it's label? Or have multiple Interaction menus show up at once?
I'm not yet clear if what you're asking for is purely cosmetic or involves changing the way interactions themselves work. Screenshots / mockups always help with visual problems such as these.
1) Showing multiple Hotspot labels at a time
AC's built-in Hotspot menu only allows for one at a time, but it's possible to have one appear using the Highlight component's on/off events. Through script, an instance of the Hotspot menu can be generated and tied to a Hotspot directly, and will show when highlighted. The "Show All" option will highlight all within the Player's vicinity collider.
(Note that a Highlight component doesn't have to literally highlight the Hotspot, but it's necessary to have special / custom effects when the Hotspot is selected)
2. Show the Interaction menu automatically for the nearest Hotspot.
The Settings Manager has See interactions with and Close interactions with fields that can both be set to Custom Script. When done so, the functions necessary to open/close the Interaction menu is shown underneath. As well as detecting all Hotspots within its collider, the "Detect Hotspots" script also keeps a record of the one closest to its centre, so it should be possible to use just the one.
I'll need to make some changes to the API to expose the functions necessary to achieve these two things, but once done it should be a case of just a couple of very simple scripts to do both of the above. I'll include these changes in v1.60.5, and will update this thread with such scripts - which can be modified to suit if necessary.
When you say "Adventure Creator UI", do you mean the default Unity UI or the Adventure Creator source option? Is your custom UI "In Scene" like your Interaction UI, or a prefab?