public void DeInit()
 {
     for (int i = 0; i < groups.Count; i++)
     {
         for (int j = 0; j < groups[i].input.connections.Count; j++)
         {
             if (!(groups[i].input.connection(j).body is ICondition))
             {
                 continue;
             }
             ICondition node = groups[i].input.connection(j).body as ICondition;
             node.DeInit();
         }
     }
 }