UValorStatComponent::UValorStatComponent(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) { bWantsBeginPlay = true; PrimaryComponentTick.bCanEverTick = false; PrimaryComponentTick.bStartWithTickEnabled = false; bAutoActivate = true; SetNetAddressable(); SetIsReplicated(true); BonusHealth = 0.f; BonusHealthRegen = 0.f; }
UPhysicsMovementComponent::UPhysicsMovementComponent() : movementForce(100000) { PrimaryComponentTick.bCanEverTick = true; SetNetAddressable(); SetIsReplicated(true); }