Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

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

PlayerSettings.locationUsageDescription

Switch to Manual
public static var locationUsageDescription: string;

Description

Describes the reason for access to the user's location data.

When the OS prompts the user to allow access to the location data, this text is displayed as part of the dialog box.