Yan 您看下您要添加的脚本是否存在base继承自Laya.Script, son继承自base,grandSon继承自son这种情况?如果存在的话在脚本中添加 //extends Laya.Script的注释试试