/** * 精灵附带的临时道具,被击杀时候爆出 */ const {ccclass, property} = cc._decorator; @ccclass export default class FSpriteTmpGood extends cc.Component { @property goodId: number = 2004; @property goodCount: number = 1; }