文档

Unity Engine

Unity Engine

TryGetBinding(BindingId, out Binding)

Gets the binding instance for the provided targeted property.
阅读时间1 分钟最后更新于 1 个月前

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
null

Returns

Type

Description

bool
true
if the binding exists;
false
otherwise.