-
Notifications
You must be signed in to change notification settings - Fork 6
Property System
Caishangqi edited this page Jun 22, 2023
·
3 revisions
It Handle Boilerplate for us
UCLASS() //Part of UE Property System
class CHARMINGCRAFT_API ADCharacter : public ACharacter
{
GENERATED_BODY() //确保放在第一行
}- Include UPROPERTY, UFUNCTION, UCLASS, USTRUCT, UENUM
Editor & Blueprints Access
UPROPERTY(VisibleAnywhere) // 把SpringArmComp暴露给编辑器中的蓝图和各个部分
USpringArmComponent* SpringArmComp;- Network behavior (Multiplayer)
- Memory Management