"use strict";
cc._RF.push(module, '492e2IoE2FAK6Gf07x8Xque', 'SpineTest');
// SpineTest.ts

// Learn TypeScript:
//  - https://docs.cocos.com/creator/manual/en/scripting/typescript.html
// Learn Attribute:
//  - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
//  - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
Object.defineProperty(exports, "__esModule", { value: true });
var _a = cc._decorator, ccclass = _a.ccclass, property = _a.property;
var SpineTest = /** @class */ (function (_super) {
    __extends(SpineTest, _super);
    function SpineTest() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.skeleton = null;
        _this.data = null;
        return _this;
    }
    // LIFE-CYCLE CALLBACKS:
    // onLoad () {}
    SpineTest.prototype.start = function () {
    };
    SpineTest.prototype.clickUseFunc = function () {
        this.skeleton.setSkeletonData(this.data);
    };
    SpineTest.prototype.clickUseEquation = function () {
        this.skeleton.skeletonData = this.data;
    };
    __decorate([
        property(sp.Skeleton)
    ], SpineTest.prototype, "skeleton", void 0);
    __decorate([
        property(sp.SkeletonData)
    ], SpineTest.prototype, "data", void 0);
    SpineTest = __decorate([
        ccclass
    ], SpineTest);
    return SpineTest;
}(cc.Component));
exports.default = SpineTest;

cc._RF.pop();