mirror of
https://github.com/mob-sakai/UIEffect.git
synced 2026-11-21 02:12:37 +08:00
fix: compilation fails on build
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user