-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delegate assigned to the wrong trigger component #1
Comments
Hi! First of all, thank you for your remark 😊 On the other hand, well, it is correctly assigned. I changed the names before releasing it because in editor was confusing to use Trigger 2 like the first one. The assigned name in the meta data is the "correct one". |
I suspect your comment about the "metadata" and "renaming" is related to the name of the cameras (the variable is named CameraX, while the L57 and L58 both assign a Trigger1->OnComponentBeginOverlap.AddDynamic(this, &AFixedCameraTrigger::OnTriggerBeginOverlap1);
Trigger1->OnComponentBeginOverlap.AddDynamic(this, &AFixedCameraTrigger::OnTriggerBeginOverlap2); For that matter, the Trigger1->OnComponentEndOverlap.AddDynamic(this, &AFixedCameraTrigger::OnTriggerEndOverlap1);
Trigger2->OnComponentEndOverlap.AddDynamic(this, &AFixedCameraTrigger::OnTriggerEndOverlap2); |
Sorry, I misunderstood the issue. Thank you very much for notifying me about this! I have already released the fix 😄 |
FixedCameraSystem/FixedCameraSystem/Source/FixedCameraSystem/Private/FixedCameraTrigger.cpp
Line 58 in ed3c587
The delegate is created for Trigger1 when it should be Trigger2 (delegate for Trigger1 being created one line above, L57)
The text was updated successfully, but these errors were encountered: