public override void dispose() { base.dispose(); _data = null; _unit = null; _config = null; _levelConfig = null; }
public override void init() { base.init(); _data = _bullet.getData(); _unit = _bullet.getUnit(); _config = BulletConfig.get(_data.id); _levelConfig = BulletLevelConfig.get(_data.id, _data.level); }