Ok, some more infos. Maybe this is the main problem here. (Based on older version because RotateFromVector() still exists)
Both events are fired if I use MoveCameratoInstant(Vector3).
After I enabled some logs in both events I figured out, that
cameraPerspective.MoveCameraToInstant(newPosition);
fires
Exoa.Events.CameraEvents.OnFocusStart
Exoa.Events.CameraEvents.OnFocusComplete
I need this function to move the cam by WASD as workaround, because your plugin ignores new inputsystem of unity.
If i disabled this line, flooding of events stopped
private void Update()
{
var newPosition = Move(cameraPerspective.FinalOffset);
// cameraPerspective.MoveCameraToInstant(newPosition);
}
The given gameObject in Complete event is of course empty then. There is no focus 🙂
Is there maybe another (better) way to use WASD with pre-calculated vectors?