Add reset_smoothing() for immediately fixing the camera to the destination location
This commit is contained in:
parent
f56a0435f2
commit
6686fbc1e0
2 changed files with 8 additions and 0 deletions
|
|
@ -128,6 +128,7 @@ public:
|
|||
|
||||
Vector2 get_camera_pos() const;
|
||||
void force_update_scroll();
|
||||
void reset_smoothing();
|
||||
|
||||
Camera2D();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue