See MonoBehaviour.OnDisable.
protected override void OnDisable() { if (this.graphic != null) { this.graphic.SetVerticesDirty(); } base.OnDisable(); }