public void ResetAllLogic()
 {
     foreach (GameObject node in ActiveLogicNodes)
     {
         LogicNode logicNode = node.GetComponent <LogicNode>();
         logicNode.SetLogicStateWithoutNotification((int)LOGIC.INVALID);
     }
 }