Skip to content

Commit

Permalink
add warning about run capture_to_wecha not in wechat game
Browse files Browse the repository at this point in the history
  • Loading branch information
Marssssssss committed Aug 20, 2019
1 parent 75852d2 commit b3a04a5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions assets/cases/07_capture_texture/capture_to_wechat.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,10 @@ cc.Class({
}
});
}
else {
let self = this;
self.label.string = '该样例只支持微信小游戏平台';
cc.log('该样例只支持微信小游戏平台');
}
}
});

0 comments on commit b3a04a5

Please sign in to comment.