Fix conditional compilation for Android.
This commit is contained in:
@@ -56,7 +56,7 @@ namespace Cryville.Crtr {
|
||||
|
||||
unity::Input.simulateMouseWithTouches = false;
|
||||
var emptyObjectArray = new object[0];
|
||||
#if UNITY_ANDROID
|
||||
#if UNITY_ANDROID && !UNITY_EDITOR
|
||||
InputManager.HandlerRegistries.Add(typeof(AndroidAccelerometerHandler), emptyObjectArray);
|
||||
InputManager.HandlerRegistries.Add(typeof(AndroidAccelerometerUncalibratedHandler), emptyObjectArray);
|
||||
InputManager.HandlerRegistries.Add(typeof(AndroidGameRotationVectorHandler), emptyObjectArray);
|
||||
|
Reference in New Issue
Block a user