【发布时间】:2020-06-24 13:24:28
【问题描述】:
我想添加admob插页式广告,当按钮点击显示广告,广告关闭后“换车”菜单 这是我的“换车”按钮代码
if( GUI.Button(new Rect(Screen.width - 270, 330, 240, 50), "Change Vehicle") )
{
selectScreen = true;
objects[activeObjectIdx].GetComponent<CarControllerV2>().canControl = false;
GetComponent<CamManager>().enabled = false;
GetComponent<SmoothFollow>().enabled = false;
GetComponent<MouseOrbit>().enabled = false;
Camera.main.transform.rotation = Quaternion.Euler(Camera.main.transform.rotation.x, 330, Camera.main.transform.rotation.z);
}
【问题讨论】:
标签: admob interstitial