Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TryGetBinding(BindingId, out Binding)

Gets the binding instance for the provided targeted property.
Read time 1 minuteLast updated 4 days ago

Definition

TryGetBinding(BindingId, Binding)

public bool TryGetBinding(BindingId bindingId, out Binding binding)

Parameters

bindingId

The binding ID.

binding

When this method returns, contains the binding associated with the target property, if it exists; otherwise contains

Returns

Type

Description

bool
true
if the binding exists;
false
otherwise.