文档

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

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
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.