Version: 5.3 (switch to 5.4b)
ЯзыкEnglish
  • C#
  • JS

Язык программирования

Выберите подходящий для вас язык программирования. Все примеры кода будут представлены на выбранном языке.

LocationService

class in UnityEngine

Руководство

Описание

Interface into location functionality.

Переменные

isEnabledByUserSpecifies whether location service is enabled in user settings.
lastDataLast measured device geographical location.
statusReturns location service status.

Открытые функции

StartStarts location service updates. Last location coordinates could be.
StopStops location service updates. This could be useful for saving battery life.