Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

PlayerSettings.Tizen.SetGPSPermissions

Switch to Manual
public static function SetGPSPermissions(enable: bool): void;

Parameters

enable New permission value.

Description

Enable / Disable access to the device GPS. (Will prompt for user for access).