DestroyCoherenceComponents
method in Coherence.Editor.CoherenceSyncUtils
Methods
public static void DestroyCoherenceComponents(GameObject gameObject)
Destroys the CoherenceSync component for the given GameObject, and any other component that depends on it.
Parameters
| Type | Name | Description |
|---|---|---|
| GameObject | gameObject |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | When |