RemoveBinding
method in Coherence.Editor.CoherenceSyncUtils
Methods
public static bool RemoveBinding<T>(GameObject gameObject, string memberName) where T : Component
Parameters
| Type | Name | Description |
|---|---|---|
| GameObject | gameObject | |
| string | memberName |
Returns
| Type | Description |
|---|---|
| bool |
Type Parameters
| Name | Description |
|---|---|
| T |
public static bool RemoveBinding(GameObject gameObject, Type type, string memberName)
Parameters
| Type | Name | Description |
|---|---|---|
| GameObject | gameObject | |
| Type | type | |
| string | memberName |
Returns
| Type | Description |
|---|---|
| bool |
public static bool RemoveBinding(CoherenceSync sync, Component component, string memberName)
Parameters
| Type | Name | Description |
|---|---|---|
| CoherenceSync | sync | |
| Component | component | |
| string | memberName |
Returns
| Type | Description |
|---|---|
| bool |
public static bool RemoveBinding(CoherenceSync sync, Component component, Descriptor descriptor)
Removes a Binding from a CoherenceSync.
Parameters
| Type | Name | Description |
|---|---|---|
| CoherenceSync | sync | |
| Component | component | |
| Descriptor | descriptor |
Returns
| Type | Description |
|---|---|
| bool |
public static bool RemoveBinding(CoherenceSync sync, Binding binding)
Removes a Binding from a CoherenceSync.
Parameters
| Type | Name | Description |
|---|---|---|
| CoherenceSync | sync | |
| Binding | binding |
Returns
| Type | Description |
|---|---|
| bool |