A typo caused the wrong event to be dispatched to scripts. Signed-off-by: Alejandro Ramallo <[email protected]>
@@ -69,7 +69,7 @@ namespace Camera
void OnActiveViewChanged(const AZ::EntityId& cameraId) override
{
- Call(FN_OnCameraRemoved, cameraId);
+ Call(FN_OnActiveViewChanged, cameraId);
};