fix: compilation fails on build

This commit is contained in:
mob-sakai
2020-04-10 17:46:03 +09:00
parent 8685165f41
commit f34ae2ce0f
@@ -71,11 +71,13 @@ namespace Coffee.UIExtensions
targetEffect.ModifyMesh(vh, graphic); targetEffect.ModifyMesh(vh, graphic);
} }
#if UNITY_EDITOR
protected override void OnValidate() protected override void OnValidate()
{ {
SetVerticesDirty(); SetVerticesDirty();
SetMaterialDirty(); SetMaterialDirty();
SetEffectParamsDirty(); SetEffectParamsDirty();
} }
#endif
} }
} }