Explorar el Código

[iOS] Fix multitouch not working correctly

Sergey Minakov hace 3 años
padre
commit
15ef056997
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      platform/iphone/godot_view.mm

+ 2 - 0
platform/iphone/godot_view.mm

@@ -154,6 +154,8 @@ static const float earth_gravity = 9.80665;
 
 
 	[self initTouches];
 	[self initTouches];
 
 
+	self.multipleTouchEnabled = YES;
+
 	// Configure and start accelerometer
 	// Configure and start accelerometer
 	if (!self.motionManager) {
 	if (!self.motionManager) {
 		self.motionManager = [[CMMotionManager alloc] init];
 		self.motionManager = [[CMMotionManager alloc] init];