HyperText.ExitedLink Event Trigger not calling method.

23 views
Skip to first unread message

mho...@ehuman.com

unread,
Jun 12, 2018, 7:11:08 PM6/12/18
to Developer Support
The HyperText Asset has been working well for me so far, however there is one issue that I can't seem to figure out.

I wrote a method and attached it to the Exited Link event of my HyperText object through an empty Game Object, however my cursor exiting the hypertext link does not call the method.

Here is the method:
public void OnMouseExitHypertext(HyperText sender, HyperText.LinkInfo link) {
Debug.Log("hello");
}

Any ideas on why this might be?

mho...@ehuman.com

unread,
Jun 12, 2018, 7:13:26 PM6/12/18
to Developer Support
Thought I might include: I am using unity version 2017.3.1f1

Developer Support

unread,
Jun 13, 2018, 4:19:25 AM6/13/18
to Developer Support
Hi! Can you put together a super small example scene that demonstrates how you have this set up and send it to sup...@candlelightinteractive.com (as project .zip or .unitypackage or however). I can try to take a quick look

mho...@ehuman.com

unread,
Jun 13, 2018, 3:44:00 PM6/13/18
to Developer Support
Hi, after sending the .unitypackage to you, I did some more testing and I got it to work. Apparently something was buggy with the way I set up a scroll rect component in conjunction with a content size fitter component. After redoing my process with some minor modifications, the Hypertext ExitedLink event trigger is working fine. Thanks for the help regardless!

Developer Support

unread,
Jun 14, 2018, 3:15:26 AM6/14/18
to Developer Support
No worries—glad to hear you got it sorted out. If you have any diagnostic details in case someone else sees a similar problem feel free to share!
Reply all
Reply to author
Forward
0 new messages