diff --git a/02-Note/DAWA/2025.1.26格斗游戏笔记.md b/02-Note/DAWA/2025.1.26格斗游戏笔记.md index 8af17e9..395d905 100644 --- a/02-Note/DAWA/2025.1.26格斗游戏笔记.md +++ b/02-Note/DAWA/2025.1.26格斗游戏笔记.md @@ -36,7 +36,7 @@ CustomEvent: Editor相关: CustomEvent: - 1. InitializeEditor + 1. InitializeEditor:**根据FrameSlider的Location来设置HitBoxFrame**,该逻辑会在ConstructScript中被调用,每移动一次就会被调用一次。 2. EditorSliders:根据FrameSlider、AnimSlider的当前帧数(根据相对Location来记录FrameId)来设置显示文字。 3. DestroyEditor @@ -72,4 +72,23 @@ HitBoxFrame => SceneComponent CustomEvent - InitializeFrame:取得所有ChildrenComponent(HitBox),并且加入BodyList中。并且对每个HitBox调用InitializeHitBox() - UpdateFrame:判断FrameId,销毁旧OldFrame创建新的。 -- DestroyFrame: \ No newline at end of file +- DestroyFrame: + +# AnimNotify +## FrameNotify +- RecivedNotify:调用SetNewAction() + 1. 通过SkeletalMeshComponent取得OwnerActor + 2. 取得ActionComponent + 3. 根据StartAction执行对应的逻辑 + 1. true,ActionComponent->NewAction() + 2. false, 判断ActionComponent中的Action类是否与AnimNotify的Action类相同?如相同执行ActionComponent->SetAction() + +## FrameState +- Recived_NotifyBegin:逻辑与FrameNotify的逻辑相同。 +- Recived_NotifyTick:每帧判断ActionComponent的FrameId与Class是否与FrameState是否相同,如果不相同,就调用ActionComponent->SetNewAction() + +## MovementModeState +用于设置角色的MovementMode + +## RunMontageSection +用于让Montage跳转Section。 \ No newline at end of file