기술 자료

Unity Engine

Unity Engine

TryGetBinding(BindingId, out Binding)

Gets the binding instance for the provided targeted property.
읽는 시간 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.