Skip to content

Commit

Permalink
fix: compilation fails on build
Browse files Browse the repository at this point in the history
  • Loading branch information
mob-sakai committed Apr 10, 2020
1 parent 8685165 commit f34ae2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Packages/UIEffect/Scripts/UISyncEffect.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,13 @@ public override void ModifyMesh(VertexHelper vh, Graphic graphic)
targetEffect.ModifyMesh(vh, graphic);
}

#if UNITY_EDITOR
protected override void OnValidate()
{
SetVerticesDirty();
SetMaterialDirty();
SetEffectParamsDirty();
}
#endif
}
}

0 comments on commit f34ae2c

Please sign in to comment.