Unreal Engine 4.x Scripting with C++ Cookbook
上QQ阅读APP看书,第一时间看更新

Creating Classes

This chapter will cover the following recipes:

  • Making a UCLASS – deriving from UObject
  • Creating a blueprint from your custom UCLASS
  • Creating a user-editable UPROPERTY
  • Accessing a UPROPERTY from blueprints
  • Specifying a UCLASS as the type of a UPROPERTY
  • Instantiating UObject-derived classes (ConstructObject<> and NewObject <>)
  • Destroying UObject-derived classes
  • Creating a USTRUCT
  • Creating a UENUM()