RemoveBindings
method in Coherence.Editor.CoherenceSyncUtils
Methods
public static int RemoveBindings(CoherenceSync sync, Binding[] bindings)
Removes all the given bindings from the sync.
Parameters
| Type | Name | Description |
|---|---|---|
| CoherenceSync | sync | The CoherenceSync component to remove the bindings from. |
| Binding[] | bindings | The bindings to remove. |
Returns
| Type | Description |
|---|---|
| int | The number of bindings that were removed. |
public static int RemoveBindings(CoherenceSync sync, Predicate<Binding> match)
Removes all Bindings from a given CoherenceSync that match the given predicate.
Parameters
| Type | Name | Description |
|---|---|---|
| CoherenceSync | sync | |
| Predicate<Binding> | match |
Returns
| Type | Description |
|---|---|
| int | Number of Bindings removed. |