/// <summary> /// 移除指定Transition /// </summary> /// <param name="target">Target.</param> public void RemoveTransition(NodeTransition target) { transition = ArrayUtility.Remove <NodeTransition>(transition, target); }
public void AddTransition(Node target) { transition = ArrayUtility.Add <NodeTransition>(transition, new NodeTransition(this.hash, target.hash)); }
public void AddTransition(NodeTransition target) { transition = ArrayUtility.Add <NodeTransition>(transition, target); }
public Node() { infos = ArrayUtility.Add <NodeInfo>(infos, new NodeInfo()); position = new Rect(0, 0, 150, 30); }