diff --git a/Scripts/Primitives/UIPrimitiveBase.cs b/Scripts/Primitives/UIPrimitiveBase.cs index 8c42f77..79b9834 100644 --- a/Scripts/Primitives/UIPrimitiveBase.cs +++ b/Scripts/Primitives/UIPrimitiveBase.cs @@ -212,6 +212,12 @@ namespace UnityEngine.UI.Extensions #endregion + #region onEnable + protected override void OnEnable() + { + SetAllDirty(); + } + #endregion } }