Question by
ITR · Nov 11, 2017 at 12:57 AM ·
uiinputfield
InputField.KeyPressed isn't marked as virtual, so what do I do instead?
InputField.KeyPressed: https://docs.unity3d.com/ScriptReference/UI.InputField.KeyPressed.html Since it's not marked as virtual, I can't override it to add features like doing specific stuff when ctrl+F is pressed. Or alt+F. Or anything it doesn't let through to Append(char c);
So how do I go about doing so in a clean matter? Or could it possibly be made virtual in a future version of Unity?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612142703im_/https://answers.unity.com/themes/thub/images/avi.jpg)