Search Issue Tracker

By Design

Votes

0

Found in

5.3.3f1

Issue ID

775588

Regression

No

EventTrigger Pointer Click events can't pass PointerEventData

uGUI

-

All event triggers are of type UnityEvent<BaseEventData>, meaning you can use a method with a BaseEventData as a callback, but not a PointerEventData which inherits from BaseEventData. Specializing per event type would introduce some unwelcome complexity. Meanwhile, a safe cast will do the trick.

Comments (1)

  1. shubhamswaraj2021

    Aug 18, 2020 06:11

    good one <a href="https://www.lyricsauto.com">lyricsauto</a>

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.