rex_tween2effect
Introduction
Passing tween value into a parameter of effect, to control the result of effect. It could control
Passing tween value into a parameter of effect, to control the result of effect. It could control
- sprite effect
- layer effect
- layout effect
Usage
Sample capx
Sample capx
Prepare
- Add tween behavior , user could use lite tween or tween, i.e. the older version of tween behavior.
- Then add this tween2effect behavior under tween behavior.
- Configure tween behavior, user need to set tweened properties to "Value".
Configure
- Name: the name of controlled effect
- Index: the parameter index of controlled effect
Target
User could assign the type of effect by set "Target" in properties table. This behavior could control these 3 types of effect -
User could assign the type of effect by set "Target" in properties table. This behavior could control these 3 types of effect -
- Instance: sprite effect
- Layer: layer effect
- Layout: layout effect