Announcing Section #1 for Survival Game - Third-person Player Setup

Just:




public:
    YourClassName(const FObjectInitializer& ObjectInitializer)


In header ;).

Or you can just scrap it all togather and:



CreateDefaultSubobject()


ObjectInitializer is no longer needed for initializing componenets.

AFAIR things provided by GENERATED_UCLASS_BODY will be deprecated as of 4.8