Documentation

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.
Read time 1 minuteLast updated 2 months ago

Definition

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