Add settable 'key' property to SpectatorCamera

Trying to implement fields that allow users to type in arbitrary text and whenever the ā€˜fā€™ key is pressed, the spectatorCamera component puts you into follow mode.

Suggest a way to disable the behaviour and if enabled set which key event witll trigger the follow (f) and unfollow (ESC)

Could also combine with SHIFT, CTRL or ALT

Original Post on Discord

by user 563549194137239552

I see - makes sense. Let me check

Iā€™ll expose a bool for ā€œuseKeysā€ that can be modified in Unity and at runtime to prevent keyboard input to do anything. And will restrict the input to the needle-engine dom element (instead of the window)

Let me know when you have tested