Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetIsDifferentCacheDirty()

Update hasMultipleDifferentValues cache on the next /Update()/ call.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public void SetIsDifferentCacheDirty()

Remarks

Normally, you should not need to call this, as the SerializedProperty setters take care of this. However, when you change an object bypassing the SerializedProperty class, you will need to manually call this to force the difference cache to be updated.