MCPcopy Create free account
hub / github.com/StereoKit/StereoKit / CheckFocus

Method CheckFocus

Examples/StereoKitTest/Program.cs:214–221  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

212 /// ### Checking for changes in application focus
213 static AppFocus lastFocus = AppFocus.Hidden;
214 static void CheckFocus()
215 {
216 if (lastFocus != SK.AppFocus)
217 {
218 lastFocus = SK.AppFocus;
219 Log.Info($"App focus changed to: {lastFocus}");
220 }
221 }
222 /// :End:
223}

Callers

nothing calls this directly

Calls 1

InfoMethod · 0.80

Tested by

no test coverage detected