public bool enabled ;

描述

用于启用或禁用罗盘。注意,如果需要 Input.compass.trueHeading 属性包含有效值,还必须通过调用 Input.location.Start() 启用位置更新。