文档

Unity Engine

Unity Engine

Binding

Base class for defining a binding.
阅读时间1 分钟最后更新于 1 个月前

Definition

[UxmlObject]public abstract class Binding

Properties

Property

Description

isDirtyWhen set to
true
, the binding instance updates during the next update cycle. When set to
false
, the binding instance updates only if a change is detected.
updateTriggerWhen set to BindingUpdateTrigger.EveryUpdate, the binding instance updates in every update, regardless of the data source version.

Methods

Method

Description

MarkDirtyNotifies the binding system to process this binding.

Static Methods

Method

Description

ResetPanelLogLevelResets the log level for binding failures on a panel to use the global setting.
SetGlobalLogLevelSets the log level for all binding failures.
SetPanelLogLevelSets the log level for binding failures on a panel.