This is probably a super easy (once you know how…) but here is another cast to question…
I have a blueprint for a door, i added a widget inside the blueprint, set widget class inside the BP.
I cant figure out how to cast to from the widget to the BP? (or i might be setting it up all wrong?)
As i understand i dont need a create widget node since the widget is created inside the Actor BP?
I need to send my “Float X” varible from my actor BP (ChildDoors) to the widget.
Direct inheritance nope, this apply when making child bp from another bp.
For reference to work, it need to be alive in the game.
Any bp present in your content browser represent Class(purple) and when you spawn or placed them in the level map, they become Actor. These actor will be assign a reference similar to a unique id for ram purpose. We also say that actor is an instance of that class(from content browser) since there can be many instances of that same class.
If i spawn the class BP_Door twice, i will get 2 instances reference:
BP_Door_0
BP_Door_1
Then for inheritance, we can use this as an example: