snapTo method
Instantly moves the camera to the target, bypassing follow. This will replace any previous targets.
Implementation
void snapTo(Vector2 position) {
moveTo(position);
snap();
}
Instantly moves the camera to the target, bypassing follow. This will replace any previous targets.
void snapTo(Vector2 position) {
moveTo(position);
snap();
}