public void EnableAccelerometer()
 {
     if (MobileCallbackManager.AreMotionEffectsEnabled())
     {
         this.m_disableAccelerometer = false;
     }
 }
Ejemplo n.º 2
0
 private void OnDestroy()
 {
     s_Instance = null;
 }
Ejemplo n.º 3
0
 private void Awake()
 {
     s_Instance = this;
 }