Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

PlayerSettings.accelerometerFrequency

static var accelerometerFrequency: int;
static int accelerometerFrequency;
static accelerometerFrequency as int

Description

Accelerometer update frequency.

Note: build-time option. Has no effect if changed when application is already running.