private void removePhaseProperty(BehaviorUpdatePhase phase) { if (phasesEditInterface != null) { phasesEditInterface.removeEditableProperty(phase); } }
/// <summary> /// Remove a binding. /// </summary> /// <param name="toBind">The SimElementManagerDefinition to remove from this SimSubScene</param> public void removeBinding(SimElementManagerDefinition toBind) { SimSubSceneBinding found = null; foreach (SimSubSceneBinding binding in bindings) { if (binding.SimElementManager == toBind) { found = binding; break; } } if (found != null) { bindings.Remove(found); if (editInterface != null) { editInterface.removeEditableProperty(found); } } }