fix:编辑器文件导入. add:example,runtime

This commit is contained in:
YipLee
2021-01-24 19:29:37 +08:00
parent c232a91a41
commit 91f4d8011b
214 changed files with 41328 additions and 120 deletions

View File

@@ -0,0 +1,12 @@
import AnimatorDragonBones from "../../animator/AnimatorDragonBones";
const {ccclass, property} = cc._decorator;
@ccclass
export default class DragonBonesScene extends cc.Component {
@property(AnimatorDragonBones) Animator: AnimatorDragonBones = null;
protected onLoad() {
this.node.on(cc.Node.EventType.TOUCH_START, () => { this.Animator.setTrigger('next'); }, this);
}
}

View File

@@ -0,0 +1,9 @@
{
"ver": "1.0.5",
"uuid": "46c5fdeb-47df-4174-bfe0-f233c54da45b",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}