// Learn TypeScript: // - https://docs.cocos.com/creator/manual/en/scripting/typescript.html // Learn Attribute: // - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html // Learn life-cycle callbacks: // - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html import JsbSystem from "./mk/system/JsbSystem"; const { ccclass, property } = cc._decorator; @ccclass export default class Test extends cc.Component { // LIFE-CYCLE CALLBACKS: // onLoad () {} start() { } // update (dt) {} /** 显示开屏 */ showSplashAd() { JsbSystem.showGMoreSplashAd(); } /** 显示激励视频 */ showRewardVideoAd() { JsbSystem.showGMoreRewardAd(); } /** 显示插屏 */ showInterAd() { JsbSystem.showGMoreInterAd(); } /** 显示全屏 */ showFullVideoAd() { JsbSystem.showGMoreFullVideoAd(); } /** 显示banner */ showBannerAd() { JsbSystem.showGMoreBannerAd(); } /** 显示信息流 */ showFeedListAd() { JsbSystem.showGMoreFeedListAd(); } }