init
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
cc.Class({
|
||||
extends: cc.Component,
|
||||
properties: {},
|
||||
start: function () {
|
||||
cc.global.Source.onPlayBtnEffect("xiangji");
|
||||
},
|
||||
onClickShare: function () {
|
||||
var e = this;
|
||||
cc.PlatformTools.executeShareRecorderVideo(function () {
|
||||
e.node.removeFromParent(true);
|
||||
}, function () {});
|
||||
},
|
||||
onCloseBtn: function () {
|
||||
null != TouTiaoTools && window.tt && TouTiaoTools.randomsharelp();
|
||||
this.node.removeFromParent(true);
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user