Author Topic: virtual KeyPressed in TMP_InputField  (Read 519 times)

rodolphito

  • Newbie
  • *
  • Posts: 11
virtual KeyPressed in TMP_InputField
« on: December 05, 2019, 05:53:20 PM »
Can we have KeyPressed be virtual in TMP_InputField? I need it to do some custom event handling:

```
protected virtual EditState KeyPressed(Event evt)
```

rodolphito

  • Newbie
  • *
  • Posts: 11
Re: virtual KeyPressed in TMP_InputField
« Reply #1 on: March 30, 2020, 03:27:36 PM »
Every time I start up Unity Editor, or update a package, I need to open up TMP_InputField and find this method and change it to virtual myself. Is there any reason to not have this as virtual? I've probably wasted hours just finding this file and changing this line over and over already.