public void UF_SetDirty() { if (this.IsActive()) { UILayoutTools.UF_MarkLayoutForRebuild(this); } }
protected void SetDirty() { if (!IsDestroyed() && this.IsActive()) { UILayoutTools.UF_MarkLayoutForRebuild(this); } }
protected override void OnDisable() { UILayoutTools.UF_MarkLayoutForRebuild(this); base.OnDisable(); }
protected override void OnDisable() { //LayoutRebuilder.MarkLayoutForRebuild (this.rectTransform); UILayoutTools.UF_MarkLayoutForRebuild(this); base.OnDisable(); }