Overview

WCGASAttributeInitializer is an ActorComponent that automatically creates and initializes the WCGASAttributePool AttributeSet on any actor with an AbilitySystemComponent. It eliminates the need for manual attribute setup and ensures consistent initialization across all attribute-using actors in your project.


Core Functionality


Initialization Flow

Automatic Initialization (Default Behavior):

  1. Component reaches BeginPlay
  2. bAutoInitialize = true triggers automatic initialization
  3. ASC detection using prioritized method chain
  4. External AttributeSets created and registered with ASC (if specified)
  5. AttributePool creation and registration with ASC