cc.Class({
    extends: cc.Component,

    properties: {
        StartHUD: {
            default: null,
            type: cc.Prefab
        },
        Hero: {
            default: null,
            type: cc.Node,
        },
        player: {
            default: null,
            type: cc.Node,
        },
    },
    start : function () {

    },
    onLoad : function () {
        var StartHUDPrefab = cc.instantiate(this.StartHUD);

        // var scene = cc.director.getScene();
        // StartHUDPrefab.parent = scene;
        // StartHUDPrefab.setPosition(0,0);

        // cc.log("父类", scene);
        // cc.log("hud",StartHUDPrefab);


    }
});
