Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

WSAInputSource

enumeration

Switch to Manual

Description

Where Unity takes input from (subscripbes to events).

Unity receives input by subscribing to events. This enum denotes different sources from which input can be received. Currently this only applies to mouse and touch input, keyboard input is always taken from CoreWindow as that's the only place where all keys can received from.

Properties

CoreWindowSubscribe to CoreWindow events.
IndependentInputSourceCreate Independent Input Source and receive input from it.
SwapChainPanelSubscribe to SwapChainPanel events.

Did you find this page useful? Please give it a rating: