cc.Class({ extends: require("BasePlayerStates"), properties: { }, onLoad() { //this.oligemia();//继承BasePlayerStates函数 }, start() { }, });