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