Click or drag to resize

DataTreeRegisterListener Method

Registers a callback at the specified path.

Namespace:  Slash.Unity.DataBind.Core.Data
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public Object RegisterListener(
	string path,
	Action<Object> onValueChanged
)

Parameters

path
Type: SystemString
Path to register for.
onValueChanged
Type: SystemActionObject
Callback to invoke when value at the specified path changed.

Return Value

Type: Object
Current value at specified path.
Exceptions
ExceptionCondition
ArgumentExceptionThrown if path is invalid for this tree.
See Also