Edit default 'Variable Name' of Actor Component
Is it possible to edit the default variable name when an actor component is created in blueprint?
I'm aware of the DisplayName specifier in the UCLASS macro, but this only changes the name in the Add Component drop-down. The variable name is always the class name in code.
The 'Variable Name' variable is defined in BlueprintDetailsCustomization, so I don't know how to access that from the object itself.
I have also tried using the Rename() function but that doesn't change the blueprint's variable name.
asked Oct 30 '18 at 12:08 PM in C++ Programming
I am sorry, but no it is not possible to change the default variable name for newly added components. This is because the sequence of events that occurs after selecting a new component class essentially calls
answered Oct 30 '18 at 04:39 PMDarkwindRichard (suspended)
Follow this question
Once you sign in you will be able to subscribe for any updates here