我也来分享一个打字机效果插件吧

使用方法尽可能简单了,在有label或richtext的node,执行

const com = node.addComponent(‘effectPrinter’);
com.string =‘需要打印的文字内容’;

richtext的支持比较粗糙,只支持一层,勉强能用。
就可以了, 代码附件:effectPrinter.zip (1.3 KB)

2赞

感谢~

有效果图没