I know that I can create local variables to a member function of a BP, which are created and destroyed before and after each call to member function, therefore losing his value between calls.
My question is if can I create local variables with global timelife, similar to static specifier for local variables in C++.
mostly by encapsulation, which is convenient to hide outside the member function, if the variable is only interesting for the member function. Note that C ++ allows the creation of static local variables.