1. Structure:
definition:
Create objects in classes;
Used in UE4:
You can also define a variable of structure type:
When you want to adjust the structure members in the details panel, you also need to add the UPropPerty command macro to each one:
At this time, the variable does not have a break function, because the macro defined at this time can only be modified in the details panel, and BluePrintReadWrite needs to be added.
2. Enumeration
Constraint enum size:
Build and use: Type 1:
definition:
Construct:
Switch split:
Build and use: Second:
definition:
statement:
Alias build:
The actual "name" of the name change has not changed, it just reduces the memory burden and nickname.