类型 函数 返回值 无 修订版本 版本 2024.3703 关键词 广告, Pollfish, 隐藏 另请参阅 pollfish.show() pollfish.*
隐藏 Pollfish 调查按钮。
pollfish.hide()
local pollfish = require( "plugin.pollfish" ) local function adListener( event ) if ( event.phase == "init" ) then -- Successful initialization print( event.provider ) elseif ( event.phase == "loaded" ) then pollfish.show() end end -- Initialize the Pollfish plugin pollfish.init( adListener, { apiKey="YOUR_API_KEY" } ) -- Sometime later, hide the Pollfish button pollfish.hide()