onPinchStart method

  1. @override
void onPinchStart(
  1. PinchEvent event
)
override

Implementation

@override
void onPinchStart(PinchEvent event) {
  _initialZoom = gameRef.camera.zoom;
  _initialPosition = gameRef.camera.position.clone();
  super.onPinchStart(event);
}