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

Script language

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

Application

class in UnityEngine.WSA

Description

Provides essential methods related to Window Store application.

Static Variables

advertisingIdentifierAdvertising ID.
argumentsArguments passed to application.

Static Functions

InvokeOnAppThreadExecutes callback item on application thread.
InvokeOnUIThreadExecutes callback item on UI thread.
RunningOnAppThreadReturns true if you're running on application thread.
RunningOnUIThreadReturns true if you're running on UI thread.

Events

windowActivatedFired when application window is activated.
windowSizeChangedFired when window size changes.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答