Version: 2019.2
LanguageEnglish
  • C#

PlayerSettings.WSAInputSource.SwapChainPanel

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual

Description

Subscribe to SwapChainPanel events.

This option requires XAML application type. Unity will only receive mouse and touch events that happen on SwapChainPanel. Keyboard input is always taken from CoreWindow and is always available to Unity. You may want this input method when Unity does not occupy the whole window and there are other XAML elements besides it. In such case mouse movement outside Unity rendered area won't be seen by Unity and will not cause side effects.