Method GetCurrentPlatform
GetCurrentPlatform()
Get the current platform for the purposes of provider selection Ths will return the value of Application.platform, except in the editor in playmode if the Override Platform in Playmode setting is enabled. Then it will use the selected override platform.
Declaration
public static RuntimePlatform GetCurrentPlatform()
Returns
Type | Description |
---|---|
RuntimePlatform | The runtime platform which should be used in provider selection |