fix:编辑器文件导入. add:example,runtime
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.0.5",
|
||||
"uuid": "46c5fdeb-47df-4174-bfe0-f233c54da45b",
|
||||
"isPlugin": false,
|
||||
"loadPluginInWeb": true,
|
||||
"loadPluginInNative": true,
|
||||
"loadPluginInEditor": false,
|
||||
"subMetas": {}
|
||||
}
|
Reference in New Issue
Block a user