mirror of
https://github.com/mob-sakai/UIEffect.git
synced 2026-11-20 09:52:38 +08:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0c2a515abc | |||
| 2c7df2a749 |
@@ -98,6 +98,10 @@ Please enable `TexCoord1` to use UIEffect.
|
||||
|
||||
## Release Notes
|
||||
|
||||
### ver.1.4.2
|
||||
|
||||
* Fixed: Error has occur on after deserialize.
|
||||
|
||||
### ver.1.4.1
|
||||
|
||||
* Fixed: Demo link in `readme.md` is broken.
|
||||
|
||||
@@ -329,8 +329,12 @@ namespace UnityEngine.UI
|
||||
|
||||
public void OnAfterDeserialize()
|
||||
{
|
||||
var obj = this;
|
||||
EditorApplication.delayCall += () =>
|
||||
{
|
||||
if (!obj)
|
||||
return;
|
||||
|
||||
var old = m_EffectMaterial;
|
||||
m_EffectMaterial = GetMaterial(Shader.Find(shaderName), toneMode, colorMode, blurMode);
|
||||
if (old != m_EffectMaterial)
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user