TypeScript 获取类名

cc.log(this.constructor.name);
原文地址:https://www.cnblogs.com/kingBook/p/13343680.html