Forum rules - please read before posting.

Click on Hotspot doesn't animate

Hi

I have this situation with Unity UI for my cursor, which is based on the CursorUI prefab from the demo. While the animator correctly triggers a click animation during normal clicks, it doesn't trigger any animations when clicking while the cursor is over a hotspot (when the cursor is already running the Hotspot animation).

The Unity UI cursor component has animation parameters like "Click" trigger and "IsOverHotspot" bool, but when I click over a hotspot, the Click trigger doesn't fire.

I modified the click layer in the animator by adding conditions to play different click animations based on the IsOverHotspot state—one animation when false and another when true. However, when IsOverHotspot is true, mouse clicks don't trigger the transition.

So, my guess is that when the cursor is over a hotspot, clicking doesn’t trigger the Click trigger.

Comments

  • Recreated, thanks for the report. I'll look into this.

  • edited May 4

    I'll be able to fix this, but it's too complex for a quick hack to detail in a thread. It'll be included in v1.83.2, however.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.