Jelajahi Sumber

[iOS] Fix multitouch not working correctly

Sergey Minakov 3 tahun lalu
induk
melakukan
15ef056997
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  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.multipleTouchEnabled = YES;
+
 	// Configure and start accelerometer
 	if (!self.motionManager) {
 		self.motionManager = [[CMMotionManager alloc] init];