Version: 2017.3
Experimental: this API is experimental and might be changed or removed in the future.

IUIElementDataWatch.RegisterWatch

Cambiar al Manual
public Experimental.UIElements.IUIElementDataWatchRequest RegisterWatch (Object toWatch, Action<Object> watchNotification);

Parámetros

toWatch The object to watch.
watchNotification Callback.

Valor de retorno

IUIElementDataWatchRequest A reference to this datawatch request. Disposing it will ensure any native resources will also be released.

Descripción

Starts watching an object. When watched, all changes on an object will trigger the callback to be invoked.