ソースを参照

Fix OnActiveViewChanged event in scripts (#18892)

A typo caused the wrong event to be dispatched to scripts.

Signed-off-by: Alejandro Ramallo <[email protected]>
Alejandro Ramallo 2 ヶ月 前
コミット
bcb25bf7a2
1 ファイル変更1 行追加1 行削除
  1. 1 1
      Gems/Camera/Code/Source/CameraComponent.cpp

+ 1 - 1
Gems/Camera/Code/Source/CameraComponent.cpp

@@ -69,7 +69,7 @@ namespace Camera
 
 
         void OnActiveViewChanged(const AZ::EntityId& cameraId) override
         void OnActiveViewChanged(const AZ::EntityId& cameraId) override
         {
         {
-            Call(FN_OnCameraRemoved, cameraId);
+            Call(FN_OnActiveViewChanged, cameraId);
         };
         };
     };
     };