vault backup: 2025-01-28 23:35:13
This commit is contained in:
parent
18ffe24dd4
commit
4de9225892
@ -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:
|
||||
- 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。
|
Loading…
x
Reference in New Issue
Block a user