Controlling Animation with Scripts Animation Component Playing and switching animations Playing animations Switching animation Animation State Frame Events Example Animation...
Skeletal Animation Assets (Spine) Import Skeletal Animation Assets Create Skeletal Animation How to load Spine remotely from a server Load the Spine assets in json format Load t...
Animation Animation.translate(number tx, number ty) 参数 number tx number ty 返回值 Animation Animation Animation.translate(number tx, number ty) 平移变换 参数 number tx 当仅有该参数时...
Animation Animation.opacity(number value) 参数 number value 返回值 Animation Animation Animation.opacity(number value) 设置透明度 参数 number value 透明度,范围 0-1 返回值 Animation