diff options
author | chai <chaifix@163.com> | 2021-04-08 18:26:02 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-04-08 18:26:02 +0800 |
commit | 6c0dc6615522a7308fc7457b469521ee82130705 (patch) | |
tree | f31a18a4bb614ac6b8902c43324e0577c61cb3af /Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/VertexModifiers | |
parent | d69611d66431e28ea35477c6781a00d57ae04fa3 (diff) |
*canvas update system
Diffstat (limited to 'Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/VertexModifiers')
-rw-r--r-- | Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/VertexModifiers/BaseMeshEffect.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/VertexModifiers/BaseMeshEffect.cs b/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/VertexModifiers/BaseMeshEffect.cs index 785de2a..aac679d 100644 --- a/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/VertexModifiers/BaseMeshEffect.cs +++ b/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/VertexModifiers/BaseMeshEffect.cs @@ -9,8 +9,9 @@ namespace UnityEngine.UI { [Obsolete("Use BaseMeshEffect.ModifyMeshes instead", true)] //We can't upgrade automatically since the signature changed. public abstract void ModifyVertices(List<UIVertex> vertices); - } - + }
+
+ // 关键在于实现IMeshModifier接口,自己写效果,不一定要继承这个类
[ExecuteInEditMode] public abstract class BaseMeshEffect : UIBehaviour, IMeshModifier { |