Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


locationUsageDescription

Describes the reason for access to the user's location data.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
Warning
Deprecated. Use PlayerSettings.iOS.locationUsageDescription instead
public static string locationUsageDescription { get; set; }

Remarks

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