public void Dispose() { _inputController.UnregisterListener(EBlockMotionEvent.MoveForward, OnMoveForward); _inputController.UnregisterListener(EBlockMotionEvent.MoveBackward, OnMoveBackward); _inputController.UnregisterListener(EBlockMotionEvent.MoveLeft, OnMoveLeft); _inputController.UnregisterListener(EBlockMotionEvent.MoveRight, OnMoveRight); }
public void Dispose() { _inputController.UnregisterListener(EBlockMotionEvent.RotateRight, OnRotateRight); _inputController.UnregisterListener(EBlockMotionEvent.RotateLeft, OnRotateLeft); _inputController.UnregisterListener(EBlockMotionEvent.RotateDown, OnRotateDown); _inputController.UnregisterListener(EBlockMotionEvent.RotateUp, OnRotateUp); }