I also found an issue with Menu.PositionOffset that is easy to recreate using the same repro:
* Open up RuntimeInput.cs and add the following line to Start():
RuntimeMenu.HotspotMenu.PositionOffset = new Vector2(0, -20);
* Now play Scene1 and resizโฆ
I managed to fix my particular issue without subclassing, but mostly I was curious as I saw a lot of members were protected and some member were virtual.
It adds great flexibility that they can be subclassed, but I'm curious how one should tell AC tโฆ
Cool - yes, a script only version would be fine if you don't want to clutter the UI. The important thing from my perspective is that the offset would be applied whatever the position type is set to (personally I would need it "On Hotspot" โฆ
Interesting, do you know of a way to fill the shape so that its not just the outline that is displayed?
Any chance of a feature like this being part of AC in the future? Like you, I'm trying to prioritize all the items on my todo list :)
That's certainly a lot closer!
This video shows two points that differ from how Monkey Island do it tho:
https://1drv.ms/v/s!Amz_vh8OYDX3vu1IPhjDqy42fpav-A?e=uGbSol
* 00:02 Box would still be selected (rather than Window) since we still haven't waโฆ
I'm sorry, didn't mean to pressure you. Take all the time you need and only add it if you agree it makes sense for the platform.
And congrats on the new release ๐
With ACs new support for staying within the navmesh during direct movement, what I describe above seems like a great addition. Do you think it's something AC will support?
Thanks
You're right - walking away from a closer hotspot should not select it. After some further studying, here's a short clip that shows how Monkey Island make this feels so natural:
https://1drv.ms/v/s!Amz_vh8OYDX3vu0bHaMaiTiM8J6Ahw?e=rdoyf9
* They onlโฆ
Yes, you can try it out in the latest repro I sent you:
Hovering over the box currently shows both the menu and the cursor sprite. But if you change the menu's appear type to Manual and update TestComponent to this:
EventManager.OnHotspotSelect +=โฆ
Nice!
I noticed that doing this also hides the cursor though (while having the menu appear "On Interaction" doesn't). It would be nice if MatchInteractions() had a bool for this.