Fix conditional compilation in UI layout components.
This commit is contained in:
@@ -83,10 +83,12 @@ namespace Cryville.Common.Unity.UI {
|
||||
base.OnDidApplyAnimationProperties();
|
||||
SetDirty();
|
||||
}
|
||||
#if UNITY_EDITOR
|
||||
protected override void OnValidate() {
|
||||
base.OnValidate();
|
||||
SetDirty();
|
||||
}
|
||||
#endif
|
||||
protected override void OnDisable() {
|
||||
SetDirty();
|
||||
base.OnDisable();
|
||||
|
Reference in New Issue
Block a user