Beispiel #1
0
 public void RemoveConnection(ScenarioStep toRemove)
 {
     if (prevSteps.Contains(toRemove.id))
     {
         prevSteps.Remove(toRemove.id);
         toRemove.RemoveConnection(this);
     }
     if (nextSteps.Contains(toRemove.id))
     {
         nextSteps.Remove(toRemove.id);
         toRemove.RemoveConnection(this);
     }
 }
Beispiel #2
0
 private void DeattachConnection()
 {
     lastClicked.RemoveConnection(secondClicked);
     secondClicked = null;
     lastClicked   = null;
     state         = EditingState.standart;
     EditorSceneManager.MarkSceneDirty(EditorSceneManager.GetActiveScene());
 }