文档

Unity Engine

Unity Engine

UpdateIfRequiredOrScript()

Update serialized object's representation, only if the object has been modified since the last call to Update or if it is a script.
阅读时间1 分钟最后更新于 1 天前

Definition

public bool UpdateIfRequiredOrScript()

Returns

Type

Description

bool

Remarks

In which case it is not safe to assume that SetDirty has been called. Return true if an Update was done.