Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17560

[Unity] How does hotkey F (frame selected) work?

$
0
0

task - F is triggered even if the scene window is not active.

I catch the click like this:

EditorApplication.modifierKeysChanged

I set the focus as follows:

EditorWindow.FocusWindowIfItsOpen <SceneView> ();

The focus is set, but the hotkey does not work.


Viewing all articles
Browse latest Browse all 17560

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>