Esempio n. 1
0
 public virtual void Destroy()
 {
     if (IsValid)
     {
         _graph.DestroySubgraph(_source);
     }
 }
Esempio n. 2
0
 public virtual void Destroy()
 {
     if (IsValid)
     {
         _graph.DestroySubgraph(_playable);
     }
 }
Esempio n. 3
0
            public void DestroyChild(NodeBase node)
            {
                var index = GetNodeIndex(node);

                if (index >= 0)
                {
                    var child = childNodes[index];
                    childNodes.RemoveAt(index);
                    playableGraph.DestroySubgraph(child.node.Playable);
                    UpdateGraph();
                }
            }