fix: signature/combo 브랜치 RequiresAllConditions 누락 수정
- signatureBranch에 SetBranchRequiresAll(true) 추가 - comboBranch에 SetBranchRequiresAll(true) 추가 - 누락 시 패턴 준비만 되면 페이즈 조건 무시하고 발동 가능했음
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -263,6 +263,7 @@ namespace Colosseum.Editor
|
|||||||
object signatureBranch = CreateNode(graphAsset, createNodeMethod, getNodeInfoMethod, branchCompositeType, new Vector2(branchX, startY + stepY * 2));
|
object signatureBranch = CreateNode(graphAsset, createNodeMethod, getNodeInfoMethod, branchCompositeType, new Vector2(branchX, startY + stepY * 2));
|
||||||
AttachPatternReadyCondition(signatureBranch, signaturePattern, authoringAssembly);
|
AttachPatternReadyCondition(signatureBranch, signaturePattern, authoringAssembly);
|
||||||
AttachPhaseConditionIfNeeded(signatureBranch, signaturePattern, authoringAssembly);
|
AttachPhaseConditionIfNeeded(signatureBranch, signaturePattern, authoringAssembly);
|
||||||
|
SetBranchRequiresAll(signatureBranch, true);
|
||||||
object signatureUseNode = CreateNode(graphAsset, createNodeMethod, getNodeInfoMethod, typeof(UsePatternByRoleAction), new Vector2(branchX + actionOffsetX, startY + stepY * 2 + actionOffsetY));
|
object signatureUseNode = CreateNode(graphAsset, createNodeMethod, getNodeInfoMethod, typeof(UsePatternByRoleAction), new Vector2(branchX + actionOffsetX, startY + stepY * 2 + actionOffsetY));
|
||||||
SetNodeFieldValue(signatureUseNode, "Pattern", signaturePattern, setFieldValueMethod);
|
SetNodeFieldValue(signatureUseNode, "Pattern", signaturePattern, setFieldValueMethod);
|
||||||
LinkTarget(signatureUseNode, targetVariable);
|
LinkTarget(signatureUseNode, targetVariable);
|
||||||
@@ -280,6 +281,7 @@ namespace Colosseum.Editor
|
|||||||
comboBranch = CreateNode(graphAsset, createNodeMethod, getNodeInfoMethod, branchCompositeType, new Vector2(branchX, startY + stepY * 3));
|
comboBranch = CreateNode(graphAsset, createNodeMethod, getNodeInfoMethod, branchCompositeType, new Vector2(branchX, startY + stepY * 3));
|
||||||
AttachPatternReadyCondition(comboBranch, comboPattern, authoringAssembly);
|
AttachPatternReadyCondition(comboBranch, comboPattern, authoringAssembly);
|
||||||
AttachPhaseConditionIfNeeded(comboBranch, comboPattern, authoringAssembly);
|
AttachPhaseConditionIfNeeded(comboBranch, comboPattern, authoringAssembly);
|
||||||
|
SetBranchRequiresAll(comboBranch, true);
|
||||||
|
|
||||||
// Sequence: 콤보 실행 → 조건부 도약
|
// Sequence: 콤보 실행 → 조건부 도약
|
||||||
object comboSequence = CreateNode(graphAsset, createNodeMethod, getNodeInfoMethod,
|
object comboSequence = CreateNode(graphAsset, createNodeMethod, getNodeInfoMethod,
|
||||||
|
|||||||
Reference in New Issue
Block a user