Static variables are common to all objects of that class, but their values are unique to each object right? It's not that their values are the same across all objects created from that class? Just need clarification. Thanks.
Static variables
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
Erik Bohuš
28 September 2023, 06:07
Static variable is bound to a class so it is easier to imagine it as value of blueprint instead as value of product created by that blueprint. You can store inside how many products were created for example.
0