Method UnregisterProperty
UnregisterProperty(Object, string)
Removed the property tracking and reverts the value back to the original value it was before RegisterProperty(Object, string) was called. In most cases you will not need to call this unless the driven properties are likely to change dynamically. Calling this method in play mode or a player build will do nothing.
Declaration
public static void UnregisterProperty(Object target, string propertyPath)
Parameters
| Type | Name | Description |
|---|---|---|
| Object | target | The object that the property is part of. |
| string | propertyPath | The serialized property path. The value that would be used to access using a SerializedProperty |