onPositionUpdate method
If you need updated on when the position of the camera is updated you can override this.
Implementation
void onPositionUpdate(Vector2 position) {}
If you need updated on when the position of the camera is updated you can override this.
void onPositionUpdate(Vector2 position) {}