disconnect method

dynamic disconnect()

Implementation

disconnect() {
  scope.domElement.removeEventListener('mousemove', onMouseMove);
  scope.domElement
      .removeEventListener('pointerlockchange', onPointerlockChange);
  scope.domElement
      .removeEventListener('pointerlockerror', onPointerlockError);
}