Can someone tell me why my widget component is failing to cast my widget?


first picture is from my actor component, im successing in getting the function i made in my widget component.

this is my widget component function. I dont know why but my code is failing to cast my widget and is not succeeding in casting the function from my widget

Could you add a Delay of 1s here to test it:

Does it work now? I am assuming you did assign widget class to the component, of course.

I think my fault was I didnt add the healthbar component in my unity component. so I added it after the sequence, and I made it a function so now it works and I dont want to touch it again.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.