Compass
UnityObjectLink
Compass

class:/TYPE/UnityEngine.Compass//, can be loaded from an assetbundle using Compass::createfromassetbundle(bundlename,prefabname) /

Parent

UnityObjectLink

Variables
enabled
System.Boolean enabled
headingaccuracy
readonly System.Single headingaccuracy
magneticheading
readonly System.Single magneticheading
rawvector
readonly UnityEngine.Vector3 rawvector
timestamp
readonly System.Double timestamp
trueheading
readonly System.Single trueheading
Functions
compass::​create
static UnityEngine.Compass Create ()

Constructor replaces new;

Returns

UnityEngine.Compass

compass::​fromassetbundle
static UnityEngine.Compass CreateFromAssetBundle(
string bundle,
string objectname
)

Constructor for object from a bundle

Parameters
bundle
string

bundle name

objectname
string

object name with extension

Returns

UnityEngine.Compass