private void ExecuteNode(ComboNode node) { if (node == null) { return; } IsExecutingCombo = true; CurrentNode = node; CurrentNode.Execute(animator, combatLayerIndex); }
private void InitializeComboNodesRecursively(ComboNode comboNode) { if (comboNodes.Contains(comboNode)) { return; } comboNode.Initialize(); foreach (var childNode in comboNode.Transitions.Select(t => t.targetNode)) { InitializeComboNodesRecursively(childNode); } }