薛鸿潇 hace 5 años
padre
commit
eefb88e0e4
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      assets/script/mk/utils/TweenUtil.ts

+ 5 - 0
assets/script/mk/utils/TweenUtil.ts

@@ -6,6 +6,11 @@ const { ccclass, property } = cc._decorator;
  */
 @ccclass
 export default class TweenUtil {
+    /** 
+     * 缓动类型
+     */
+    public easing: typeof TweenEasing = TweenEasing
+    
     /**
      * 缩放效果
      * @param node 动画节点