| 45 | } |
| 46 | |
| 47 | void UAlsxtAnimationInstance::NativeBeginPlay() |
| 48 | { |
| 49 | Super::NativeBeginPlay(); |
| 50 | |
| 51 | if (IsValid(ALSXTSettings)) |
| 52 | { |
| 53 | ALS_ENSURE(IsValid(ALSXTCharacter)); |
| 54 | if (GetOwningActor()->Implements<UAlsxtCharacterInterface>()) |
| 55 | { |
| 56 | StaminaThresholdSettings = IAlsxtCharacterInterface::Execute_GetCharacterSettings(GetOwningActor())->StatusSettings.StaminaThresholdSettings; |
| 57 | CharacterBreathEffectsSettings = IAlsxtCharacterInterface::Execute_GetCharacterSettings(GetOwningActor())->BreathEffects; |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | } |
| 62 | |
| 63 | void UAlsxtAnimationInstance::NativeUpdateAnimation(const float DeltaTime) |
| 64 | { |