protected void RemoveChild(NodeContent content, NodeModifier node) { if (content.RemoveContenNode(node)) { node.ForceStop(); } NodeModifier[] nodes = node.NextNodes; for (int i = 0; i < nodes.Length; i++) { if (nodes[i].Parent != node) { continue; } RemoveChild(content, nodes[i]); } }
public override EnumResult Tick(NodeContent content) { return(Tick()); }
protected virtual EnumResult OnProcessing(NodeContent content, NodeModifier[] nextNode) { return(EnumResult.Success); }
public override EnumResult Tick(NodeContent content) { return(OnProcessing(content, NextNodes)); }
public virtual EnumResult Tick(NodeContent content) { return(EnumResult.Success); }
public static void SetContent(NodeModifier node, NodeContent content) { node.RemoveFromContent(); node.DeleteParent(); node.SetContent(content); }