Add an onKeyPress event on UI entities to support more than just clicks. It could be used to detect pressing E and F keys on an item.
This would be useful in more advanced UIs like an inventory, where you can perform more than one kind of action on an item.
Add an onKeyPress event on UI entities to support more than just clicks. It could be used to detect pressing E and F keys on an item. This would be useful in more advanced UIs like an inventory, where you can perform more than one kind of action on an item.